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

Unified Diff: Source/core/html/imports/HTMLImportChild.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 | « Source/core/html/imports/HTMLImport.h ('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/HTMLImportChild.h
diff --git a/Source/core/html/imports/HTMLImportChild.h b/Source/core/html/imports/HTMLImportChild.h
index e1db3da0a62a1ad8abbd724034b12ac6174638ec..ca61e53cec19d76ad6285c556f18c9b2f6cc1ad9 100644
--- a/Source/core/html/imports/HTMLImportChild.h
+++ b/Source/core/html/imports/HTMLImportChild.h
@@ -65,7 +65,6 @@ public:
WeakPtr<HTMLImportChild> weakPtr() { return m_weakFactory.createWeakPtr(); }
// HTMLImport
- virtual bool isChild() const OVERRIDE { return true; }
virtual Document* document() const OVERRIDE;
virtual bool isDone() const OVERRIDE;
virtual HTMLImportLoader* loader() const OVERRIDE { return m_loader; }
@@ -100,7 +99,7 @@ private:
inline HTMLImportChild* toHTMLImportChild(HTMLImport* import)
{
- ASSERT(!import || import->isChild());
+ ASSERT(!import || !import->isRoot());
return static_cast<HTMLImportChild*>(import);
}
« no previous file with comments | « Source/core/html/imports/HTMLImport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698