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

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

Issue 2629523008: Shape Detection: Remove ConstructorCallWith=Document (Closed)
Patch Set: Add layout test for worker Created 3 years, 11 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/ShapeDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
index 9f0d7b127bc7c15a8f125555814b1cb4d468d7d0..74b8e70ef5f70238c81abd407bd92a217ee8bda3 100644
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
@@ -13,14 +13,9 @@
namespace blink {
-class LocalFrame;
-
class MODULES_EXPORT ShapeDetector
: public GarbageCollectedFinalized<ShapeDetector> {
public:
- // TODO(mcasas): Implement TextDetector after
- // https://github.com/WICG/shape-detection-api/issues/6
- explicit ShapeDetector(LocalFrame&);
virtual ~ShapeDetector() = default;
ScriptPromise detect(ScriptState*, const ImageBitmapSourceUnion&);

Powered by Google App Engine
This is Rietveld 408576698