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

Unified Diff: sky/engine/core/dom/Node.h

Issue 942933003: Remove almost all clients of isHTMLElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Node.h
diff --git a/sky/engine/core/dom/Node.h b/sky/engine/core/dom/Node.h
index 1b9166e115ee1c1ed4443b6b2ce20d8469cdfb52..ac5dfdf75ef324b37659b41178ec4d75169c1975 100644
--- a/sky/engine/core/dom/Node.h
+++ b/sky/engine/core/dom/Node.h
@@ -53,7 +53,6 @@ class EventListener;
class ExceptionState;
class FloatPoint;
class LocalFrame;
-class HTMLQualifiedName;
class IntRect;
class KeyboardEvent;
class NSResolver;
@@ -134,7 +133,6 @@ public:
// DOM methods & attributes for Node
- bool hasTagName(const HTMLQualifiedName&) const;
virtual String nodeName() const = 0;
virtual NodeType nodeType() const = 0;
ContainerNode* parentNode() const;
@@ -197,7 +195,7 @@ public:
// PseudoElements and VTTElements. It's possible we can just eliminate all the checks
// since those elements will never have class names, inline style, or other things that
// this apparently guards against.
- bool isStyledElement() const { return isHTMLElement(); }
+ bool isStyledElement() const { return isElementNode(); }
bool isDocumentNode() const;
bool isTreeScope() const;
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698