Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/ImageBitmap.h |
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h |
| index 001062d5e24e47faa4d9a8457f310a0546bf0f65..b6f2590d2c6fdd5f7714044d6b6fbf174237b32f 100644 |
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.h |
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h |
| @@ -57,7 +57,7 @@ public: |
| static ImageBitmap* take(ScriptPromiseResolver*, sk_sp<SkImage>); |
| StaticBitmapImage* bitmapImage() const { return (m_image) ? m_image.get() : nullptr; } |
| - std::unique_ptr<uint8_t[]> copyBitmapData(AlphaDisposition alphaOp = DontPremultiplyAlpha, DataColorFormat format = RGBAColorType); |
| + PassRefPtr<Uint8Array> copyBitmapData(AlphaDisposition = DontPremultiplyAlpha, DataColorFormat = RGBAColorType); |
|
Justin Novosad
2016/08/24 14:57:00
This method should be private IMHO
xidachen
2016/08/25 20:36:20
This method is called in serializer where we need
|
| unsigned long width() const; |
| unsigned long height() const; |
| IntSize size() const; |