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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add untracked dependency on mojom Created 4 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: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 6b808741731215381389a0bf31629d8e69e7061c..b51488ec6c19ba172bb98b24738e132b4b204f10 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -342,8 +342,6 @@ void ChromeContentRendererClient::RenderThreadStarted() {
ChromeExtensionsRendererClient::GetInstance()->RenderThreadStarted();
#endif
- prescient_networking_dispatcher_.reset(
- new network_hints::PrescientNetworkingDispatcher());
#if defined(ENABLE_SPELLCHECK)
// ChromeRenderViewTest::SetUp() creates a Spellcheck and injects it using
// SetSpellcheck(). Don't overwrite it.
@@ -1140,7 +1138,7 @@ bool ChromeContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
blink::WebPrescientNetworking*
ChromeContentRendererClient::GetPrescientNetworking() {
- return prescient_networking_dispatcher_.get();
+ return chrome_observer_->prescient_networking_dispatcher();
}
bool ChromeContentRendererClient::ShouldOverridePageVisibilityState(

Powered by Google App Engine
This is Rietveld 408576698