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

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

Issue 2753413002: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: include the generated JS bindings for bitmap.mojom in the layout tests archive. 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/TextDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
index 64791e3d99b5419aa5756a5c4600a379071ca692..800893c5ed6ea388c16fea24b4a427929d4e7d7e 100644
--- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
@@ -29,9 +29,7 @@ class MODULES_EXPORT TextDetector final : public ShapeDetector,
~TextDetector() override = default;
ScriptPromise doDetect(ScriptPromiseResolver*,
- mojo::ScopedSharedBufferHandle,
- int imageWidth,
- int imageHeight) override;
+ skia::mojom::blink::BitmapPtr) override;
void onDetectText(
ScriptPromiseResolver*,
Vector<shape_detection::mojom::blink::TextDetectionResultPtr>);

Powered by Google App Engine
This is Rietveld 408576698