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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes 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/modules/canvas2d/CanvasStyle.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
index 5b75d75001a87cd90461e17a13f1723a32ac47fd..ac378f17c1a449f9b30465d70e74a22502327579 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
@@ -116,10 +116,10 @@ void CanvasStyle::applyToPaint(SkPaint& paint) const
paint.setShader(nullptr);
break;
case Gradient:
- canvasGradient()->gradient()->applyToPaint(paint);
+ getCanvasGradient()->getGradient()->applyToPaint(paint);
break;
case ImagePattern:
- canvasPattern()->pattern()->applyToPaint(paint);
+ getCanvasPattern()->getPattern()->applyToPaint(paint);
break;
default:
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698