Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Unified Diff: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h

Issue 2755393002: Revert of RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cd55e5cc3968515b01edd4da016e18e5b1e909ae..74b8e70ef5f70238c81abd407bd92a217ee8bda3 100644
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
@@ -10,7 +10,6 @@
#include "core/imagebitmap/ImageBitmapFactories.h"
#include "modules/ModulesExport.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
-#include "skia/public/interfaces/bitmap.mojom-blink.h"
namespace blink {
@@ -28,7 +27,9 @@
const HTMLImageElement*);
virtual ScriptPromise doDetect(ScriptPromiseResolver*,
- skia::mojom::blink::BitmapPtr) = 0;
+ mojo::ScopedSharedBufferHandle,
+ int imageWidth,
+ int imageHeight) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698