[Webkit-unassigned] [Bug 26494] RenderTheme::themeForPage reads from Settings before it has been initialized by WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 18 08:35:40 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26494





------- Comment #1 from kenneth.christiansen at openbossa.org  2009-06-18 08:35 PDT -------
Wouldn't it make sense to initialize the settings before constructing a page?
or is there any reason for not doing so?

WebView (windows) already calls "WebPreferences* sharedPreferences =
WebPreferences::sharedStandardPreferences();" before constructing the Page().

Couldn't we add the below before creating the Page?

bool shouldPaintNativeControls;
if
(SUCCEEDED(m_preferences->shouldPaintNativeControls(&shouldPaintNativeControls)))
    Settings::setShouldPaintNativeControls(shouldPaintNativeControls)

both functions are static.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list