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

Unified Diff: third_party/WebKit/Source/core/html/imports/LinkImport.cpp

Issue 2547843002: Refactor setImportsController() to clarify invariants (Closed)
Patch Set: Rebase 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 | « third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp ('k') | 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/html/imports/LinkImport.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
index f1de54b6a0af350679335b09b508488072d2f7af..1e9765e0b34cdeea91a40a316ab9647ed7cba861 100644
--- a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
+++ b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
@@ -68,7 +68,7 @@ void LinkImport::process() {
// The document should be the master.
Document& master = m_owner->document();
DCHECK(master.frame());
- master.setImportsController(HTMLImportsController::create(master));
+ master.createImportsController();
}
LinkRequestBuilder builder(m_owner);
« no previous file with comments | « third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698