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

Unified Diff: Source/core/dom/Node.h

Issue 1060973003: compositor-worker: Force elements to grow a layer when a CompositorProxy is created. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 8 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: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index a509181a6c46ecbbdbbf54593155cae77c39aad5..3bcb1417fcdba40dc60db3c9f0bd032ea818c90a 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -673,6 +673,9 @@ public:
void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFlag); }
bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
+ void setHasCompositorProxy(bool flag) { setFlag(flag, HasCompositorProxyFlag); }
+ bool hasCompositorProxy() const { return getFlag(HasCompositorProxyFlag); }
+
bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChildrenFlag); }
DECLARE_VIRTUAL_TRACE();
@@ -728,6 +731,7 @@ private:
HasSyntheticAttrChildNodesFlag = 1 << 26,
HasEventTargetDataFlag = 1 << 27,
AlreadySpellCheckedFlag = 1 << 28,
+ HasCompositorProxyFlag = 1 << 29,
DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
};

Powered by Google App Engine
This is Rietveld 408576698