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

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

Issue 694683002: Remove HasPendingResources flag. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | 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 b14500b01e29b89d7d3c4f4a1d6164d6cf3e7ada..39008e6b721e16cac72dcb1fac93d43708e64e61 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -77,7 +77,6 @@ enum SpellcheckAttributeState {
enum ElementFlags {
TabIndexWasSetExplicitly = 1 << 0,
- HasPendingResources = 1 << 1,
NumberOfElementFlags = 2, // Required size of bitfield used to store the flags.
};
@@ -345,11 +344,6 @@ public:
// to event listeners, and prevents DOMActivate events from being sent at all.
virtual bool isDisabledFormControl() const { return false; }
- bool hasPendingResources() const { return hasElementFlag(HasPendingResources); }
- void setHasPendingResources() { setElementFlag(HasPendingResources); }
- void clearHasPendingResources() { clearElementFlag(HasPendingResources); }
- virtual void buildPendingResource() { };
-
void setCustomElementDefinition(PassRefPtr<CustomElementDefinition>);
CustomElementDefinition* customElementDefinition() const;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698