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

Unified Diff: third_party/WebKit/Source/platform/mac/ThemeMac.h

Issue 1512803004: Use refs for GraphicsContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: 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/mac/ThemeMac.h
diff --git a/third_party/WebKit/Source/platform/mac/ThemeMac.h b/third_party/WebKit/Source/platform/mac/ThemeMac.h
index 1a24b32a830de7c3c45d7148f960a9175d584810..5143918ec153b9ca0c80f548363b1e0989573abf 100644
--- a/third_party/WebKit/Source/platform/mac/ThemeMac.h
+++ b/third_party/WebKit/Source/platform/mac/ThemeMac.h
@@ -47,7 +47,7 @@ public:
virtual bool controlRequiresPreWhiteSpace(ControlPart part) const { return part == PushButtonPart; }
- virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect&, float zoomFactor, ScrollableArea*) const;
+ virtual void paint(ControlPart, ControlStates, GraphicsContext&, const IntRect&, float zoomFactor, ScrollableArea*) const;
virtual void addVisualOverflow(ControlPart, ControlStates, float zoomFactor, IntRect& borderBox) const;
// Inflate an IntRect to accout for specific padding around margins.

Powered by Google App Engine
This is Rietveld 408576698