Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 93c5e2bfc4f567a70b5f452c1cb989ca0138f863..154149408a960b69c6f2d9398278c985e3ec4812 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -373,7 +373,7 @@ String HTMLCanvasElement::toEncodingMimeType(const String& mimeType) |
String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionState& exceptionState) |
{ |
if (!m_originClean) { |
- exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("toDataURL", "HTMLCanvasElement", "tainted canvases may not be exported.")); |
+ exceptionState.throwSecurityError("Tainted canvases may not be exported."); |
return String(); |
} |