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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 238543002: We don't need overloading about fill, clip, isPointInPath anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
index 3529068fc8eb02e2a53845a328a82edda2395576..fed1d6120875b4ee00c198590b55271fd67b02a2 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
@@ -1024,11 +1024,6 @@ void CanvasRenderingContext2D::fill(const String& windingRuleString)
fillInternal(m_path, windingRuleString);
}
-void CanvasRenderingContext2D::fill(Path2D* domPath)
-{
- fill(domPath, "nonzero");
-}
-
void CanvasRenderingContext2D::fill(Path2D* domPath, const String& windingRuleString)
{
fillInternal(domPath->path(), windingRuleString);
@@ -1103,11 +1098,6 @@ void CanvasRenderingContext2D::clip(const String& windingRuleString)
clipInternal(m_path, windingRuleString);
}
-void CanvasRenderingContext2D::clip(Path2D* domPath)
-{
- clip(domPath, "nonzero");
-}
-
void CanvasRenderingContext2D::clip(Path2D* domPath, const String& windingRuleString)
{
clipInternal(domPath->path(), windingRuleString);
@@ -1118,11 +1108,6 @@ bool CanvasRenderingContext2D::isPointInPath(const float x, const float y, const
return isPointInPathInternal(m_path, x, y, windingRuleString);
}
-bool CanvasRenderingContext2D::isPointInPath(Path2D* domPath, const float x, const float y)
-{
- return isPointInPath(domPath, x, y, "nonzero");
-}
-
bool CanvasRenderingContext2D::isPointInPath(Path2D* domPath, const float x, const float y, const String& windingRuleString)
{
return isPointInPathInternal(domPath->path(), x, y, windingRuleString);
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698