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

Unified Diff: third_party/WebKit/Source/platform/graphics/Path.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/platform/graphics/Path.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Path.cpp b/third_party/WebKit/Source/platform/graphics/Path.cpp
index 7f36cbccdd42c494e9d7ec90408c27fd2d996ee1..2fd75f846eb85a9d762f0115ee9bc2a8ea9b0e00 100644
--- a/third_party/WebKit/Source/platform/graphics/Path.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Path.cpp
@@ -242,8 +242,8 @@ void Path::pointAndNormalAtLength(float length, FloatPoint& point, float& normal
}
Path::PositionCalculator::PositionCalculator(const Path& path)
- : m_path(path.skPath())
- , m_pathMeasure(path.skPath(), false)
+ : m_path(path.getSkPath())
+ , m_pathMeasure(path.getSkPath(), false)
, m_accumulatedLength(0)
{
}
@@ -433,7 +433,7 @@ void Path::addEllipse(const FloatRect& rect)
void Path::addRoundedRect(const FloatRoundedRect& r)
{
- addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight());
+ addRoundedRect(r.rect(), r.getRadii().topLeft(), r.getRadii().topRight(), r.getRadii().bottomLeft(), r.getRadii().bottomRight());
}
void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii)
@@ -495,7 +495,7 @@ void Path::addPathForRoundedRect(const FloatRect& rect, const FloatSize& topLeft
void Path::addPath(const Path& src, const AffineTransform& transform)
{
- m_path.addPath(src.skPath(), affineTransformToSkMatrix(transform));
+ m_path.addPath(src.getSkPath(), affineTransformToSkMatrix(transform));
}
void Path::translate(const FloatSize& size)
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Path.h ('k') | third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698