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

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

Issue 883443003: Remove PseudoId. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/css/resolver/MatchedPropertiesCache.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index ab29ebc6b79fd612121a12274d439132ecda77fd..4748002f98808d36507fbd07cf2d1e62a959f8e9 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -207,7 +207,7 @@ public:
bool hasAuthorShadowRoot() const { return shadowRoot(); }
- RenderStyle* computedStyle(PseudoId = NOPSEUDO);
+ RenderStyle* computedStyle();
bool isUpgradedCustomElement() const { return customElementState() == Upgraded; }
bool isUnresolvedCustomElement() const { return customElementState() == WaitingForUpgrade; }
@@ -342,7 +342,7 @@ private:
virtual void formatForDebugger(char* buffer, unsigned length) const override;
#endif
- virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) override { return computedStyle(pseudoElementSpecifier); }
+ virtual RenderStyle* virtualComputedStyle() override { return computedStyle(); }
// cloneNode is private so that non-virtual cloneElementWithChildren and cloneElementWithoutChildren
// are used instead.
« no previous file with comments | « sky/engine/core/css/resolver/MatchedPropertiesCache.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698