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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp

Issue 1884333002: Remove OILPAN from core/dom/shadow/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
index 3010f8a588e2d2fe7a5cc9a80c13e7c2e958b692..547c347e944e71b7dc9e5455d27c47c575dcf186 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
@@ -92,11 +92,9 @@ void InsertionPoint::setDistributedNodes(DistributedNodes& distributedNodes)
distributedNodes.at(j)->lazyReattachIfAttached();
m_distributedNodes.swap(distributedNodes);
-#if ENABLE(OILPAN)
- // Deallocate a Vector and a HashMap explicitly in order that Oilpan can
- // recycle them without GC.
+ // Deallocate a Vector and a HashMap explicitly so that
+ // Oilpan can recycle them without an intervening GC.
distributedNodes.clear();
-#endif
m_distributedNodes.shrinkToFit();
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698