Chromium Code Reviews| Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapSource.h |
| diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapSource.h b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapSource.h |
| index 4e15f7f07974e2bf29ea332651a3f9d6a56ec465..0a04374cab357da754c1fba9f42139f86942d29f 100644 |
| --- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapSource.h |
| +++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapSource.h |
| @@ -10,7 +10,9 @@ |
| #include "bindings/core/v8/ScriptState.h" |
| #include "core/CoreExport.h" |
| #include "core/dom/ExceptionCode.h" |
| +#include "platform/geometry/IntRect.h" |
| #include "platform/geometry/IntSize.h" |
| +#include "third_party/WebKit/Source/wtf/Optional.h" |
|
jbroman
2016/07/13 15:18:57
Use paths rooted at third_party/WebKit/Source/ wit
|
| namespace blink { |
| @@ -20,7 +22,7 @@ class ImageBitmapOptions; |
| class CORE_EXPORT ImageBitmapSource { |
| public: |
| virtual IntSize bitmapSourceSize() const { return IntSize(); } |
| - virtual ScriptPromise createImageBitmap(ScriptState*, EventTarget&, int sx, int sy, int sw, int sh, const ImageBitmapOptions&, ExceptionState&); |
| + virtual ScriptPromise createImageBitmap(ScriptState*, EventTarget&, WTF::Optional<IntRect>, const ImageBitmapOptions&, ExceptionState&); |
| virtual bool isBlob() const { return false; } |