summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/CanvasSurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/CanvasSurface.h')
-rw-r--r--WebCore/dom/CanvasSurface.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/dom/CanvasSurface.h b/WebCore/dom/CanvasSurface.h
index 3660c05..3601381 100644
--- a/WebCore/dom/CanvasSurface.h
+++ b/WebCore/dom/CanvasSurface.h
@@ -59,9 +59,8 @@ public:
int width() const { return m_size.width(); }
int height() const { return m_size.height(); }
- String toDataURL(const String& mimeType, double quality, ExceptionCode&);
-
- String toDataURL(const String& mimeType, ExceptionCode& ec) { return toDataURL(mimeType, 1.0, ec); }
+ String toDataURL(const String& mimeType, const double* quality, ExceptionCode&);
+ String toDataURL(const String& mimeType, ExceptionCode& ec) { return toDataURL(mimeType, 0, ec); }
const IntSize& size() const { return m_size; }