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

Unified Diff: Source/core/html/HTMLImportChild.cpp

Issue 131043003: [import] Refactoring: Get rid of HTMLImport::isProcessing() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed an extra blank line Created 6 years, 11 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/HTMLImportChild.h ('k') | Source/core/html/HTMLImportsController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImportChild.cpp
diff --git a/Source/core/html/HTMLImportChild.cpp b/Source/core/html/HTMLImportChild.cpp
index 287d317bd06d175641304b0a95e61dcf00d731fe..7f2931cdb5d5a9bc7931cac57b2c255398084799 100644
--- a/Source/core/html/HTMLImportChild.cpp
+++ b/Source/core/html/HTMLImportChild.cpp
@@ -189,14 +189,14 @@ void HTMLImportChild::shareLoader(HTMLImportChild* loader)
root()->blockerGone();
}
-bool HTMLImportChild::isProcessing() const
+bool HTMLImportChild::isDone() const
{
- return m_loader && m_loader->isOwnedBy(this) && !m_loader->isDone();
+ return m_loader && m_loader->isDone();
}
-bool HTMLImportChild::isDone() const
+bool HTMLImportChild::ownsLoader() const
{
- return m_loader && m_loader->isDone();
+ return m_loader->isOwnedBy(this);
}
bool HTMLImportChild::loaderHasError() const
« no previous file with comments | « Source/core/html/HTMLImportChild.h ('k') | Source/core/html/HTMLImportsController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698