diff options
Diffstat (limited to 'deps/v8/src/objects/js-date-time-format-inl.h')
-rw-r--r-- | deps/v8/src/objects/js-date-time-format-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/objects/js-date-time-format-inl.h b/deps/v8/src/objects/js-date-time-format-inl.h index 3603a8ff4b..4ab9adb844 100644 --- a/deps/v8/src/objects/js-date-time-format-inl.h +++ b/deps/v8/src/objects/js-date-time-format-inl.h @@ -29,13 +29,13 @@ ACCESSORS(JSDateTimeFormat, icu_date_interval_format, ACCESSORS(JSDateTimeFormat, bound_format, Object, kBoundFormatOffset) SMI_ACCESSORS(JSDateTimeFormat, flags, kFlagsOffset) -inline void JSDateTimeFormat::set_hour_cycle(Intl::HourCycle hour_cycle) { +inline void JSDateTimeFormat::set_hour_cycle(HourCycle hour_cycle) { int hints = flags(); hints = HourCycleBits::update(hints, hour_cycle); set_flags(hints); } -inline Intl::HourCycle JSDateTimeFormat::hour_cycle() const { +inline JSDateTimeFormat::HourCycle JSDateTimeFormat::hour_cycle() const { return HourCycleBits::decode(flags()); } |