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

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

Issue 2875243002: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: RELAND2: ShapeDetection: use mojom::Bitmap for mojo interface. Created 3 years, 7 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 5bd48439e6287dc0fb0fce7b46111e6c23d0e3e1..4d21cc6645f6ffca7b2755ae083f9d6b7fce2b07 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 image_width,
- int image_height) override;
+ skia::mojom::blink::BitmapPtr) override;
void OnDetectText(
ScriptPromiseResolver*,
Vector<shape_detection::mojom::blink::TextDetectionResultPtr>);

Powered by Google App Engine
This is Rietveld 408576698