| 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 b6749f7272aece32e71de8e7b893d74ad37fc35f..b94ed79e42b03b7d72b3d7d30ce5b789eae52130 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.h
|
| +++ b/third_party/WebKit/Source/core/dom/Node.h
|
| @@ -254,11 +254,11 @@ public:
|
| bool isHTMLElement() const { return getFlag(IsHTMLFlag); }
|
| bool isSVGElement() const { return getFlag(IsSVGFlag); }
|
|
|
| - bool isPseudoElement() const { return getPseudoId() != NOPSEUDO; }
|
| - bool isBeforePseudoElement() const { return getPseudoId() == BEFORE; }
|
| - bool isAfterPseudoElement() const { return getPseudoId() == AFTER; }
|
| - bool isFirstLetterPseudoElement() const { return getPseudoId() == FIRST_LETTER; }
|
| - virtual PseudoId getPseudoId() const { return NOPSEUDO; }
|
| + bool isPseudoElement() const { return getPseudoId() != PseudoIdNone; }
|
| + bool isBeforePseudoElement() const { return getPseudoId() == PseudoIdBefore; }
|
| + bool isAfterPseudoElement() const { return getPseudoId() == PseudoIdAfter; }
|
| + bool isFirstLetterPseudoElement() const { return getPseudoId() == PseudoIdFirstLetter; }
|
| + virtual PseudoId getPseudoId() const { return PseudoIdNone; }
|
|
|
| bool isCustomElement() const { return getFlag(CustomElementFlag); }
|
| enum CustomElementState {
|
| @@ -561,7 +561,7 @@ public:
|
|
|
| const ComputedStyle& computedStyleRef() const;
|
|
|
| - const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return virtualEnsureComputedStyle(pseudoElementSpecifier); }
|
| + const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = PseudoIdNone) { return virtualEnsureComputedStyle(pseudoElementSpecifier); }
|
|
|
| // -----------------------------------------------------------------------------
|
| // Notification of document structure changes (see ContainerNode.h for more notification methods)
|
| @@ -824,7 +824,7 @@ private:
|
|
|
| virtual ComputedStyle* nonLayoutObjectComputedStyle() const { return nullptr; }
|
|
|
| - virtual const ComputedStyle* virtualEnsureComputedStyle(PseudoId = NOPSEUDO);
|
| + virtual const ComputedStyle* virtualEnsureComputedStyle(PseudoId = PseudoIdNone);
|
|
|
| void trackForDebugging();
|
|
|
|
|