| 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 9f0d7b127bc7c15a8f125555814b1cb4d468d7d0..fc4dcab12d6f21762e8b79b18e0efd38b19fb860 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 {
|
|
|
| @@ -32,9 +33,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
|
|
|