| Index: Source/core/html/HTMLCanvasElement.h
|
| diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
|
| index 9677d0188187bb640ae7f5c29013015dbd0513a4..0b0d18dd8e554eb1cd206194723700c2013525fa 100644
|
| --- a/Source/core/html/HTMLCanvasElement.h
|
| +++ b/Source/core/html/HTMLCanvasElement.h
|
| @@ -120,9 +120,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;
|
|
|
|
|