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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/TextDetector.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/TextDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
index bc6262779e65defcd2fb3264ab80546bb1da9e88..64791e3d99b5419aa5756a5c4600a379071ca692 100644
--- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
@@ -15,19 +15,17 @@
namespace blink {
-class LocalFrame;
-
class MODULES_EXPORT TextDetector final : public ShapeDetector,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static TextDetector* create(Document&);
+ static TextDetector* create();
DECLARE_VIRTUAL_TRACE();
private:
- explicit TextDetector(LocalFrame&);
+ TextDetector();
~TextDetector() override = default;
ScriptPromise doDetect(ScriptPromiseResolver*,

Powered by Google App Engine
This is Rietveld 408576698