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

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

Issue 2564123003: Face Detection: Use DetectedFace in FaceDetector.cpp iso DOMRect (Closed)
Patch Set: Created 4 years 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/DetectedFace.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
index 2a646b49cb6bb3745b0480d9098b03693a04cbc4..5a4677f1d11523e7d3756c8dd4c0b15e8e93bbb6 100644
--- a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
+++ b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
@@ -18,10 +18,14 @@ class MODULES_EXPORT DetectedFace final : public GarbageCollected<DetectedFace>,
public:
static DetectedFace* create();
+ static DetectedFace* create(DOMRect*);
+
DOMRect* boundingBox() const;
DECLARE_TRACE();
private:
+ explicit DetectedFace(DOMRect*);
+
Member<DOMRect> m_boundingBox;
};

Powered by Google App Engine
This is Rietveld 408576698