| Index: third_party/WebKit/Source/core/dom/Node.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
|
| index d0d15f40de457e17cf5ec2e664d271e761c8b952..38b8a26f906bbcc918e824fcb8132c4558058b7a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.h
|
| +++ b/third_party/WebKit/Source/core/dom/Node.h
|
| @@ -278,15 +278,7 @@ public:
|
| virtual bool isCharacterDataNode() const { return false; }
|
| virtual bool isFrameOwnerElement() const { return false; }
|
|
|
| - // StyledElements allow inline style (style="border: 1px"), presentational attributes (ex. color),
|
| - // class names (ex. class="foo bar") and other non-basic styling features. They and also control
|
| - // if this element can participate in style sharing.
|
| - //
|
| - // FIXME: The only things that ever go through StyleResolver that aren't StyledElements are
|
| - // 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() || isSVGElement(); }
|
| + bool isStyledElement() const;
|
|
|
| bool isDocumentNode() const;
|
| bool isTreeScope() const;
|
|
|