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

Unified Diff: Source/core/dom/Element.cpp

Issue 1024233002: compositor-worker: Introduce CompositorProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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
« Source/core/dom/CompositorProxy.h ('K') | « Source/core/dom/CompositorProxy.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 57d31f3b317c30cc66efbdb90ed0e321021f56dc..19280a2d78541f8bc27846fc8645f03f0762e0eb 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -51,6 +51,7 @@
#include "core/dom/CSSSelectorWatch.h"
#include "core/dom/ClientRect.h"
#include "core/dom/ClientRectList.h"
+#include "core/dom/CompositorProxy.h"
#include "core/dom/DatasetDOMStringMap.h"
#include "core/dom/ElementDataCache.h"
#include "core/dom/ElementRareData.h"
@@ -176,6 +177,7 @@ Element::~Element()
ASSERT(!hasPendingResources());
}
#endif
+ CompositorProxy::notifyElementGone(this);
esprehn 2015/03/25 23:21:47 You want to use a WeakNodeMap, we don't need to du
}
inline ElementRareData* Element::elementRareData() const
« Source/core/dom/CompositorProxy.h ('K') | « Source/core/dom/CompositorProxy.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698