| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 8c8e66d0d789a708ad682a89e319ee69f604a1b8..85d444a1d1a0dd25a56f8204dedf14e0b354e1fa 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -370,10 +370,10 @@ String HTMLCanvasElement::toEncodingMimeType(const String& mimeType)
|
| return lowercaseMimeType;
|
| }
|
|
|
| -String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionState& es)
|
| +String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionState& exceptionState)
|
| {
|
| if (!m_originClean) {
|
| - es.throwSecurityError(ExceptionMessages::failedToExecute("toDataURL", "HTMLCanvasElement", "tainted canvases may not be exported."));
|
| + exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("toDataURL", "HTMLCanvasElement", "tainted canvases may not be exported."));
|
| return String();
|
| }
|
|
|
|
|