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 74b8e70ef5f70238c81abd407bd92a217ee8bda3..cd55e5cc3968515b01edd4da016e18e5b1e909ae 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 imageWidth, |
- int imageHeight) = 0; |
+ skia::mojom::blink::BitmapPtr) = 0; |
}; |
} // namespace blink |