Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm

Issue 136333009: Move preferred scrollbar style preference change listening from renderer to browser, 3 of 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacCommon.mm ('k') | Source/web/mac/WebScrollbarTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
diff --git a/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm b/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
index 02cc8763e5fbec6a32a4a565e4b1b5606b59df20..05e4ccddfe7c267ba27cce8a45bc3534cbfffb96 100644
--- a/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
+++ b/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
@@ -85,7 +85,7 @@ ScrollbarPainter ScrollbarThemeMacOverlayAPI::painterForScrollbar(ScrollbarTheme
}
void ScrollbarThemeMacOverlayAPI::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) {
- ASSERT(isScrollbarOverlayAPIAvailable());
+ ASSERT(isOverlayAPIAvailable());
GraphicsContextStateSaver stateSaver(*context);
context->translate(rect.x(), rect.y());
@@ -101,7 +101,7 @@ void ScrollbarThemeMacOverlayAPI::paintTrackBackground(GraphicsContext* context,
}
void ScrollbarThemeMacOverlayAPI::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) {
- ASSERT(isScrollbarOverlayAPIAvailable());
+ ASSERT(isOverlayAPIAvailable());
GraphicsContextStateSaver stateSaver(*context);
context->translate(rect.x(), rect.y());
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacCommon.mm ('k') | Source/web/mac/WebScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698