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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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
Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
index c8191766efa8d09acecf56916a39bf67657e0040..713e9eec1f8ebf32d1343fa4c73dc8799abc4af6 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
@@ -77,7 +77,7 @@ public:
SkCanvas* canvas() { return m_canvas; }
const SkCanvas* canvas() const { return m_canvas; }
- PaintController& paintController() { return m_paintController; }
+ PaintController& getPaintController() { return m_paintController; }
bool contextDisabled() const { return m_disabledState; }
@@ -89,10 +89,10 @@ public:
unsigned saveCount() const;
#endif
- float strokeThickness() const { return immutableState()->strokeData().thickness(); }
+ float strokeThickness() const { return immutableState()->getStrokeData().thickness(); }
void setStrokeThickness(float thickness) { mutableState()->setStrokeThickness(thickness); }
- StrokeStyle getStrokeStyle() const { return immutableState()->strokeData().style(); }
+ StrokeStyle getStrokeStyle() const { return immutableState()->getStrokeData().style(); }
void setStrokeStyle(StrokeStyle style) { mutableState()->setStrokeStyle(style); }
Color strokeColor() const { return immutableState()->strokeColor(); }

Powered by Google App Engine
This is Rietveld 408576698