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

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

Issue 2681913003: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: Fix the issue of failing to fetch bitmap module 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/FaceDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
index 84f6b9fba86d9e6b30153d9e4f432262099652b2..2047879c07eb714f616fb18dfb567b05c00b601e 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
@@ -31,9 +31,7 @@ class MODULES_EXPORT FaceDetector final : public ShapeDetector,
~FaceDetector() override = default;
ScriptPromise doDetect(ScriptPromiseResolver*,
- mojo::ScopedSharedBufferHandle,
- int imageWidth,
- int imageHeight) override;
+ skia::mojom::blink::BitmapPtr) override;
void onDetectFaces(ScriptPromiseResolver*,
shape_detection::mojom::blink::FaceDetectionResultPtr);
void onFaceServiceConnectionError();

Powered by Google App Engine
This is Rietveld 408576698