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; } |