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 9cc2b77e640c4dd88e82dfdbdc0323ad20385e8a..21d17711de6b98401b14a49506e65769a6924c0b 100644 |
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.h |
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h |
| @@ -74,7 +74,10 @@ class CORE_EXPORT ImageBitmap final |
| uint32_t height, |
| bool isImageBitmapPremultiplied, |
| bool isImageBitmapOriginClean); |
| - static sk_sp<SkImage> getSkImageFromDecoder(std::unique_ptr<ImageDecoder>); |
| + static sk_sp<SkImage> getSkImageFromDecoder(std::unique_ptr<ImageDecoder>, |
| + SkColorType* = nullptr, |
| + sk_sp<SkColorSpace> = nullptr, |
| + bool = false); |
|
dcheng
2016/12/11 20:11:58
Please don't write unnamed bool parameters, it's n
zakerinasab1
2016/12/12 18:35:21
Done
|
| static bool isResizeOptionValid(const ImageBitmapOptions&, ExceptionState&); |
| static bool isSourceSizeValid(int sourceWidth, |
| int sourceHeight, |