| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 3f9a730aac4c62d107fcf386ae4cdedffc72a20f..c26e1ac16fd38ff2c9fe43c8b31afb0bea296751 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -383,7 +383,7 @@ String HTMLCanvasElement::toEncodingMimeType(const String& mimeType)
|
| String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionCode& ec)
|
| {
|
| if (!m_originClean) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return String();
|
| }
|
|
|
|
|