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

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

Issue 2539073002: Remove [ConstructorCallWith=ScriptState] from ShapeDetector (Closed)
Patch Set: temp 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9ebd1cbafbcbcd725b6bf67db9e5865af21ea7ab..e8767457c207f7d15dcb49b4d5ad79c182a84bd5 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
@@ -21,7 +21,7 @@ class MODULES_EXPORT BarcodeDetector final : public ShapeDetector,
DEFINE_WRAPPERTYPEINFO();
public:
- static BarcodeDetector* create(ScriptState*);
+ static BarcodeDetector* create(Document&);
ScriptPromise detect(ScriptState*, const CanvasImageSourceUnion&);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698