[Qt] Clean up code to determine palette from page client in RenderThemeQt
https://bugs.webkit.org/show_bug.cgi?id=34052 Patch by Simon Hausmann <hausmann@webkit.org> on 2010-01-25 Reviewed by Kenneth Christiansen. Use the RenderTheme's associated page instead of going through the render tree and the document. * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::setPaletteFromPageClientIfExists): (WebCore::RenderThemeQt::initializeCommonQStyleOptions): * platform/qt/RenderThemeQt.h: git-svn-id: svn://svn.chromium.org/blink/trunk@53801 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment