| Index: Source/core/html/HTMLCanvasElement.h
|
| diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
|
| index 9e695d7d668a5f19d56671b33b8dc6c745988400..d155dba46aa651eb400b046e0813b4b29bd10b26 100644
|
| --- a/Source/core/html/HTMLCanvasElement.h
|
| +++ b/Source/core/html/HTMLCanvasElement.h
|
| @@ -119,9 +119,9 @@ public:
|
|
|
| void ensureUnacceleratedImageBuffer();
|
| ImageBuffer* buffer() const;
|
| - Image* copiedImage() const;
|
| + enum SourceBuffer { Front, Back };
|
| + Image* copiedImage(SourceBuffer) const;
|
| void clearCopiedImage();
|
| - PassRefPtrWillBeRawPtr<ImageData> getImageData() const;
|
|
|
| SecurityOrigin* securityOrigin() const;
|
| bool originClean() const { return m_originClean; }
|
| @@ -188,7 +188,7 @@ private:
|
|
|
| void updateExternallyAllocatedMemory() const;
|
|
|
| - String toDataURLInternal(const String& mimeType, const double* quality, bool isSaving = false) const;
|
| + String toDataURLInternal(const String& mimeType, const double* quality, SourceBuffer) const;
|
|
|
| WillBeHeapHashSet<RawPtrWillBeWeakMember<CanvasObserver>> m_observers;
|
|
|
|
|