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

Unified Diff: Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp

Issue 1226113002: Move protocol registration from WebViewClient to WebFrameClient, part 2/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
diff --git a/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp b/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
index b61444cecfc4bfd5b3a13adb68c4983c50479ae9..e1a30e98422ae66f012ac7eef8638a2edbc57f8f 100644
--- a/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
+++ b/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
@@ -15,7 +15,7 @@ namespace blink {
void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock(Internals&, Document* document)
{
ASSERT(document && document->page());
- NavigatorContentUtils* navigatorContentUtils = NavigatorContentUtils::from(*document->page());
+ NavigatorContentUtils* navigatorContentUtils = NavigatorContentUtils::from(*document->frame());
navigatorContentUtils->setClientForTest(adoptPtr(new NavigatorContentUtilsClientMock()));
}
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h ('k') | Source/web/NavigatorContentUtilsClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698