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

Unified Diff: Source/core/html/imports/HTMLImport.h

Issue 302433016: Remove virtualized isRoot/isChild from HTMLImport. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | Source/core/html/imports/HTMLImportChild.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImport.h
diff --git a/Source/core/html/imports/HTMLImport.h b/Source/core/html/imports/HTMLImport.h
index 488940f8ff0e986a75059397eaa9552dadee485c..46f3e4ac9242920bc7ce4c6e21bc80a357d2bb5f 100644
--- a/Source/core/html/imports/HTMLImport.h
+++ b/Source/core/html/imports/HTMLImport.h
@@ -106,14 +106,13 @@ public:
// FIXME: Consider returning HTMLImportTreeRoot.
HTMLImport* root();
bool precedes(HTMLImport*);
- bool isRoot() const { return !isChild(); }
+ bool isRoot() const { return !parent(); }
bool isSync() const { return SyncMode(m_sync) == Sync; }
bool formsCycle() const;
const HTMLImportState& state() const { return m_state; }
void appendImport(HTMLImport*);
- virtual bool isChild() const { return false; }
virtual Document* document() const = 0;
virtual bool isDone() const = 0; // FIXME: Should be renamed to haveFinishedLoading()
virtual HTMLImportLoader* loader() const { return 0; }
« no previous file with comments | « no previous file | Source/core/html/imports/HTMLImportChild.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698