Remove WTF_USE_DEFAULT_RENDER_THEME
This was used only to guard calls to the static method LayoutThemeDefault::SetSelectionColors. This static methods should have been virtual on blink::LayoutTheme to begin with. It also shouldn't be routed through blink::WebView (rather, it should be called directly, like the adjacent blink::SetFocusRingColor). Note that after changing selection colors, we call both blink::WebWidget::ThemeChanged and blink::Page::PlatformColorsChanged. I don't know the distinction between the two. Bug: 961342 Change-Id: I3edd3d41d6ad6de1fc3331bb03308f2dc7c6a683 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1606185 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Reviewed-by:
ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#659136}
Showing
Please register or sign in to comment