Index: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h |
diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h |
index b86d37bba773972b4bd26873214236839433cc25..b1bc45f817110af63e42e1bfbd562adc08c22d14 100644 |
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h |
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h |
@@ -10,6 +10,7 @@ |
#include "core/imagebitmap/ImageBitmapFactories.h" |
#include "modules/ModulesExport.h" |
#include "modules/canvas2d/CanvasRenderingContext2D.h" |
+#include "skia/public/interfaces/bitmap.mojom-blink.h" |
namespace blink { |
@@ -27,9 +28,7 @@ class MODULES_EXPORT ShapeDetector |
const HTMLImageElement*); |
virtual ScriptPromise DoDetect(ScriptPromiseResolver*, |
- mojo::ScopedSharedBufferHandle, |
- int image_width, |
- int image_height) = 0; |
+ skia::mojom::blink::BitmapPtr) = 0; |
}; |
} // namespace blink |