Closed Bug 1435943 Opened 6 years ago Closed 6 years ago

Tweak Preferences::GetType() and nsPrefBranch::GetPrefType()

Categories

(Core :: Preferences: Backend, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8948619 [details]
Bug 1435943 - Tweak Preferences::GetType() and nsPrefBranch::GetPrefType().

https://reviewboard.mozilla.org/r/218040/#review223832

::: modules/libpref/Preferences.cpp:4168
(Diff revision 1)
> +
> +    case PrefType::Bool:
> +      return PREF_BOOL;
> +
> +    default:
> +      MOZ_CRASH();

maybe MOZ_ASSERT_UNREACHABLE?
Attachment #8948619 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/d1043ecc316e5cb616e58521e2d36d4729108704
Bug 1435943 - Tweak Preferences::GetType() and nsPrefBranch::GetPrefType(). r=glandium
https://hg.mozilla.org/mozilla-central/rev/d1043ecc316e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: