Open Bug 1270967 Opened 8 years ago Updated 2 years ago

Remove duplicate for gfxPrefs preferences from all.js

Categories

(Core :: Graphics, task, P3)

task

Tracking

()

People

(Reporter: milan, Unassigned)

Details

(Whiteboard: [gfx-noted])

Attachments

(3 files)

Once we add a gfxPrefs, we have to decide if we want it to show up in about:support by default - if we do, we also need to add an entry in all.js.

Fix this so that we don't have to, and we can specify when defining the preference in gfxPrefs if we want also it to show up in the UI.
Assignee: nobody → milan
Keywords: feature
Whiteboard: [gfx-noted]
Attachment #8749863 - Attachment description: WIP: Preference interface for setting the defaults → WIP: Part 1. Preference interface for setting the defaults
Attachment #8749864 - Attachment description: WIP: Extension to gfxPrefs to set the preference cache value → WIP: Part 2. Extension to gfxPrefs to set the preference cache value
Comment on attachment 8749864 [details] [diff] [review]
WIP: Part 2. Extension to gfxPrefs to set the preference cache value

Review of attachment 8749864 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/thebes/gfxPrefs.cpp
@@ +55,5 @@
>  {
>    gfxPrefs::AssertMainThread();
>    mMoz2DPrefAccess = new PreferenceAccessImpl;
>    mozilla::gfx::PreferenceAccess::SetAccess(mMoz2DPrefAccess);
> +  sIsParentProcess = XRE_IsParentProcess();

It is too late at this point to set the "is it a parent process" flag.  The member variable initialization has already tried to use that value.
Priority: -- → P3
Assignee: milaninbugzilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: