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

Unified Diff: sky/engine/core/html/canvas/CanvasPathMethods.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/html/canvas/CanvasGradient.cpp ('k') | sky/engine/core/html/canvas/CanvasPattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/canvas/CanvasPathMethods.cpp
diff --git a/sky/engine/core/html/canvas/CanvasPathMethods.cpp b/sky/engine/core/html/canvas/CanvasPathMethods.cpp
index f24eef4c1da34daff4ccd7ff7238017d3f4eafff..2f34788e063e2324544cee572849be60f656d51d 100644
--- a/sky/engine/core/html/canvas/CanvasPathMethods.cpp
+++ b/sky/engine/core/html/canvas/CanvasPathMethods.cpp
@@ -35,7 +35,7 @@
#include "sky/engine/config.h"
#include "sky/engine/core/html/canvas/CanvasPathMethods.h"
-#include "sky/engine/bindings/core/v8/ExceptionState.h"
+#include "sky/engine/bindings2/exception_state.h"
#include "sky/engine/core/dom/ExceptionCode.h"
#include "sky/engine/platform/geometry/FloatRect.h"
#include "sky/engine/platform/transforms/AffineTransform.h"
@@ -113,7 +113,7 @@ void CanvasPathMethods::arcTo(float x1, float y1, float x2, float y2, float r, E
return;
if (r < 0) {
- exceptionState.throwDOMException(IndexSizeError, "The radius provided (" + String::number(r) + ") is negative.");
+ exceptionState.ThrowDOMException(IndexSizeError, "The radius provided (" + String::number(r) + ") is negative.");
return;
}
@@ -257,7 +257,7 @@ void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, fl
return;
if (radius < 0) {
- exceptionState.throwDOMException(IndexSizeError, "The radius provided (" + String::number(radius) + ") is negative.");
+ exceptionState.ThrowDOMException(IndexSizeError, "The radius provided (" + String::number(radius) + ") is negative.");
return;
}
@@ -281,11 +281,11 @@ void CanvasPathMethods::ellipse(float x, float y, float radiusX, float radiusY,
return;
if (radiusX < 0) {
- exceptionState.throwDOMException(IndexSizeError, "The major-axis radius provided (" + String::number(radiusX) + ") is negative.");
+ exceptionState.ThrowDOMException(IndexSizeError, "The major-axis radius provided (" + String::number(radiusX) + ") is negative.");
return;
}
if (radiusY < 0) {
- exceptionState.throwDOMException(IndexSizeError, "The minor-axis radius provided (" + String::number(radiusY) + ") is negative.");
+ exceptionState.ThrowDOMException(IndexSizeError, "The minor-axis radius provided (" + String::number(radiusY) + ") is negative.");
return;
}
« no previous file with comments | « sky/engine/core/html/canvas/CanvasGradient.cpp ('k') | sky/engine/core/html/canvas/CanvasPattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698