| Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| index e7bb8bbb4369218d4e700e60f7e7d6304a717fc2..6c8a1550804f99fdf8c333fda4058e6c05192116 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
|
| @@ -98,7 +98,12 @@ public:
|
|
|
| bool isPaintable() const;
|
|
|
| - static String toEncodingMimeType(const String& mimeType);
|
| + enum EncodeReason {
|
| + EncodeReasonToDataURL = 0,
|
| + EncodeReasonToBlobCallback = 1,
|
| + NumberOfEncodeReasons
|
| + };
|
| + static String toEncodingMimeType(const String& mimeType, const EncodeReason);
|
| String toDataURL(const String& mimeType, const ScriptValue& qualityArgument, ExceptionState&) const;
|
| String toDataURL(const String& mimeType, ExceptionState& exceptionState) const { return toDataURL(mimeType, ScriptValue(), exceptionState); }
|
|
|
|
|