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

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

Powered by Google App Engine
This is Rietveld 408576698