Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp

Issue 1511003003: Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarRemove
Patch Set: yet another mac fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp
index 1b1dacdca5ae8f637343c998b1cc71d02843e47e..f41fdb997ba9f40172abfcf04430654965f3ee02 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp
@@ -30,7 +30,7 @@
namespace blink {
-ScrollbarTheme* ScrollbarTheme::nativeTheme()
+ScrollbarTheme& ScrollbarTheme::nativeTheme()
{
return ScrollbarThemeOverlay::mobileTheme();
}

Powered by Google App Engine