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

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

Issue 840163003: Make SelectorChecker a const operation over element. (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
Index: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index 9c3169644223ce80e8047fcbae8e70789775be74..2042f4b6531427b3bdd8decb2348cd3c61bfe239 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -216,8 +216,8 @@ public:
RenderStyle* computedStyle(PseudoId = NOPSEUDO);
- bool isUpgradedCustomElement() { return customElementState() == Upgraded; }
- bool isUnresolvedCustomElement() { return customElementState() == WaitingForUpgrade; }
+ bool isUpgradedCustomElement() const { return customElementState() == Upgraded; }
+ bool isUnresolvedCustomElement() const { return customElementState() == WaitingForUpgrade; }
AtomicString computeInheritedLanguage() const;

Powered by Google App Engine
This is Rietveld 408576698