Index: third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
index 7a51c75e23dfa7f6aa20ba419fc6ded626c89d71..0f69d95c8a37c6ce7596cdbc11904c9d7d553b6d 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
@@ -93,6 +93,10 @@ public: |
// the other. Returns whether the copy succeeded. |
bool copyBitmapData(const ImageFrame&); |
+ // Moves the bitmap data from the provided frame to this one, leaving the |
+ // provided frame empty. |
+ void takeBitmapData(ImageFrame*); |
+ |
// Copies the pixel data at [(startX, startY), (endX, startY)) to the |
// same X-coordinates on each subsequent row up to but not including |
// endY. |