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

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

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/CanvasGradient.cpp ('k') | Source/core/html/canvas/CanvasPattern.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasPathMethods.cpp
diff --git a/Source/core/html/canvas/CanvasPathMethods.cpp b/Source/core/html/canvas/CanvasPathMethods.cpp
index 9104eac6c07a9fb3aa78cc405d26cb54cabcf586..7de92cd2e4f7a8498071fdd10466edb0b5325d79 100644
--- a/Source/core/html/canvas/CanvasPathMethods.cpp
+++ b/Source/core/html/canvas/CanvasPathMethods.cpp
@@ -113,7 +113,7 @@ void CanvasPathMethods::arcTo(float x1, float y1, float x2, float y2, float r, E
return;
if (r < 0) {
- es.throwDOMException(IndexSizeError);
+ es.throwUninformativeAndGenericDOMException(IndexSizeError);
return;
}
@@ -259,7 +259,7 @@ void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, fl
return;
if (radius < 0) {
- es.throwDOMException(IndexSizeError);
+ es.throwUninformativeAndGenericDOMException(IndexSizeError);
return;
}
@@ -283,7 +283,7 @@ void CanvasPathMethods::ellipse(float x, float y, float radiusX, float radiusY,
return;
if (radiusX < 0 || radiusY < 0) {
- es.throwDOMException(IndexSizeError);
+ es.throwUninformativeAndGenericDOMException(IndexSizeError);
return;
}
« no previous file with comments | « Source/core/html/canvas/CanvasGradient.cpp ('k') | Source/core/html/canvas/CanvasPattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698