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

Unified Diff: Source/core/html/imports/HTMLImportsController.cpp

Issue 211363004: [Refactring] Turn HTMLImport::m_sync from bool to an enum. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed the default parameter Created 6 years, 9 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
« no previous file with comments | « Source/core/html/imports/HTMLImportChild.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImportsController.cpp
diff --git a/Source/core/html/imports/HTMLImportsController.cpp b/Source/core/html/imports/HTMLImportsController.cpp
index 5854b3240b9b0908c7aa4bf970d12b7305d417f0..ae153eb949dc19382c6875a5b827e7c13e19afea 100644
--- a/Source/core/html/imports/HTMLImportsController.cpp
+++ b/Source/core/html/imports/HTMLImportsController.cpp
@@ -71,7 +71,7 @@ void HTMLImportsController::clear()
HTMLImportChild* HTMLImportsController::createChild(const KURL& url, HTMLImport* parent, HTMLImportChildClient* client)
{
- OwnPtr<HTMLImportChild> loader = adoptPtr(new HTMLImportChild(*m_master, url, client->isSync()));
+ OwnPtr<HTMLImportChild> loader = adoptPtr(new HTMLImportChild(*m_master, url, client->isSync() ? HTMLImport::Sync : HTMLImport::Async));
loader->setClient(client);
parent->appendChild(loader.get());
m_imports.append(loader.release());
« no previous file with comments | « Source/core/html/imports/HTMLImportChild.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698