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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2173623003: Add "Failed" custom element state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix and cleanup Created 4 years, 5 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: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index bad1a3842b9ac576d96dd847cf853f43a52e35ed..4bcea2b68ecd5cb692bd59b082fe41e7bd433176 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -374,7 +374,7 @@ public:
void setIsInCanvasSubtree(bool value) { setElementFlag(IsInCanvasSubtree, value); }
bool isInCanvasSubtree() const { return hasElementFlag(IsInCanvasSubtree); }
- bool isDefined() const { return getCustomElementState() != CustomElementState::Undefined; }
+ bool isDefined() const;
dominicc (has gone to gerrit) 2016/07/26 05:47:42 Maybe we want to keep inlining this?
bool isUpgradedV0CustomElement() { return getV0CustomElementState() == V0Upgraded; }
bool isUnresolvedV0CustomElement() { return getV0CustomElementState() == V0WaitingForUpgrade; }

Powered by Google App Engine
This is Rietveld 408576698