| Index: third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| index 620cd8ed1f337c189f00c7b7a8dd6ecc01028568..4a6c8572c9a4d42c17798510ef0efd5cd98cc493 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| @@ -11,9 +11,9 @@
|
|
|
| namespace blink {
|
|
|
| -FaceDetector* FaceDetector::create(ScriptState* scriptState,
|
| +FaceDetector* FaceDetector::create(Document& document,
|
| const FaceDetectorOptions& options) {
|
| - return new FaceDetector(*scriptState->domWindow()->frame(), options);
|
| + return new FaceDetector(*document.frame(), options);
|
| }
|
|
|
| FaceDetector::FaceDetector(LocalFrame& frame,
|
|
|