| Index: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| index 95f145df441d28d5017dff1e6f72c7764f22e971..969ff229b2bd7abce4cbc75cc1d2966aa5680880 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| @@ -11,8 +11,8 @@
|
|
|
| namespace blink {
|
|
|
| -BarcodeDetector* BarcodeDetector::create(ScriptState* scriptState) {
|
| - return new BarcodeDetector(*scriptState->domWindow()->frame());
|
| +BarcodeDetector* BarcodeDetector::create(Document& document) {
|
| + return new BarcodeDetector(*document.frame());
|
| }
|
|
|
| BarcodeDetector::BarcodeDetector(LocalFrame& frame) : ShapeDetector(frame) {}
|
|
|