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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2580753004: Install supplements at every navigation (Closed)
Patch Set: temp Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 414d2975ebc391cef603868139614aa57a0a2a54..5d7eb052d97726bfa9c9149014c1299539974111 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -784,8 +784,7 @@ DocumentWriter* DocumentLoader::createWriterFor(
Document* document = frame->domWindow()->installNewDocument(mimeType, init);
- if (!init.shouldReuseDefaultView())
- frame->page()->chromeClient().installSupplements(*frame);
+ frame->page()->chromeClient().installSupplements(*frame);
// This should be set before receivedFirstData().
if (!overridingURL.isEmpty())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698