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

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

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: tests outside the [0, 1] range Created 4 years, 2 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/DetectedFace.cpp
diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.cpp b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.cpp
index 2428de144aa43775a6de635443d16e20418316b0..ee3a5ad50ea948d637e7b09ed24c20f332f9f583 100644
--- a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.cpp
@@ -4,10 +4,20 @@
#include "modules/shapedetection/DetectedFace.h"
+#include "core/dom/DOMRect.h"
+
namespace blink {
DetectedFace* DetectedFace::create() {
return new DetectedFace();
}
+DOMRect* DetectedFace::boundingBox() const {
+ return m_boundingBox.get();
+}
+
+DEFINE_TRACE(DetectedFace) {
+ visitor->trace(m_boundingBox);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698