Chromium Code Reviews| 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..fe70dedc4e3b26b862176bcd71e41d8c4b45df82 100644 |
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h |
| @@ -93,6 +93,9 @@ public: |
| // the other. Returns whether the copy succeeded. |
| bool copyBitmapData(const ImageFrame&); |
| + // Takes over other's frame pixel data. Other becomes empty after this call. |
|
Peter Kasting
2016/07/19 03:04:17
Nit: To match declaration above as closely as poss
aleksandar.stojiljkovic
2016/07/19 11:10:40
Done.
|
| + void takeBitmapData(ImageFrame& other); |
| + |
| // Copies the pixel data at [(startX, startY), (endX, startY)) to the |
| // same X-coordinates on each subsequent row up to but not including |
| // endY. |