| Index: third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
|
| diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
|
| index 08a79d082eb39b5f01eb19bbb867c0ce9ab8c0f6..147e7135cfd8a0c65449bee5fa470a0af38016ea 100644
|
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
|
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "InternalsNavigatorContentUtils.h"
|
|
|
| #include "core/dom/Document.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "core/testing/Internals.h"
|
| #include "modules/navigatorcontentutils/NavigatorContentUtils.h"
|
| #include "modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h"
|
| @@ -16,7 +17,7 @@ void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock(
|
| Document* document) {
|
| ASSERT(document && document->page());
|
| NavigatorContentUtils* navigatorContentUtils =
|
| - NavigatorContentUtils::from(*document->frame());
|
| + NavigatorContentUtils::from(*document->domWindow()->navigator());
|
| navigatorContentUtils->setClientForTest(
|
| NavigatorContentUtilsClientMock::create());
|
| }
|
|
|