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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h
index ae8160ce26566037f0349cb8eb59ab41eba1ba50..5121b40727a2b97efd3a9e160165e0b040a568f3 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h
@@ -39,7 +39,7 @@ class PLATFORM_EXPORT WebScrollbarThemeClientImpl : public ScrollbarThemeClient
public:
// Caller must retain ownership of this pointer and ensure that its lifetime
// exceeds this instance.
- WebScrollbarThemeClientImpl(WebScrollbar*);
+ WebScrollbarThemeClientImpl(WebScrollbar&);
~WebScrollbarThemeClientImpl() override;
// Implement ScrollbarThemeClient interface
@@ -86,7 +86,7 @@ public:
String debugName() const final;
private:
- WebScrollbar* m_scrollbar;
+ WebScrollbar& m_scrollbar;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698