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

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

Issue 2527503003: FaceDetector: Pass |options| to parent constructor (Closed)
Patch Set: Created 4 years, 1 month 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 66ee0d2e17692c3a296a2bc3147c2301c25a9691..dea93942d9c564ee7ef35a5f1355cfb526fcda5f 100644
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
@@ -26,6 +26,7 @@ class MODULES_EXPORT ShapeDetector
// https://github.com/WICG/shape-detection-api/issues/6
};
explicit ShapeDetector(LocalFrame&);
+ explicit ShapeDetector(LocalFrame&, const FaceDetectorOptions&);
haraken 2016/11/23 01:37:33 Nit: Drop explicit.
virtual ~ShapeDetector() = default;
ScriptPromise detectShapes(ScriptState*,

Powered by Google App Engine
This is Rietveld 408576698