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

Unified Diff: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp

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/core/paint/SVGShapePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
index 4a2195299ec7e57f0dcf94a4b2f64fff71654a28..4ef9f4c4e8dc8b6626f8c23cb2a67e94cee48e37 100644
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
@@ -120,7 +120,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo)
class PathWithTemporaryWindingRule {
public:
PathWithTemporaryWindingRule(Path& path, SkPath::FillType fillType)
- : m_path(const_cast<SkPath&>(path.skPath()))
+ : m_path(const_cast<SkPath&>(path.getSkPath()))
{
m_savedFillType = m_path.getFillType();
m_path.setFillType(fillType);
@@ -130,7 +130,7 @@ public:
m_path.setFillType(m_savedFillType);
}
- const SkPath& skPath() const { return m_path; }
+ const SkPath& getSkPath() const { return m_path; }
private:
SkPath& m_path;
@@ -148,7 +148,7 @@ void SVGShapePainter::fillShape(GraphicsContext& context, const SkPaint& paint,
break;
default: {
PathWithTemporaryWindingRule pathWithWinding(m_layoutSVGShape.path(), fillType);
- context.drawPath(pathWithWinding.skPath(), paint);
+ context.drawPath(pathWithWinding.getSkPath(), paint);
}
}
}
@@ -170,7 +170,7 @@ void SVGShapePainter::strokeShape(GraphicsContext& context, const SkPaint& paint
Path* usePath = &m_layoutSVGShape.path();
if (m_layoutSVGShape.hasNonScalingStroke())
usePath = m_layoutSVGShape.nonScalingStrokePath(usePath, m_layoutSVGShape.nonScalingStrokeTransform());
- context.drawPath(usePath->skPath(), paint);
+ context.drawPath(usePath->getSkPath(), paint);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGRootPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScopeRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698