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

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

Issue 1521583002: Oilpan: fix build after r364654. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no need for GarbageCollectedFinalized<> for SlotAssignment Created 5 years 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/ElementShadow.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
index 62fee7de6dbcf0885231ac833fddb6c015678c1f..bae3b8424c6cb942d3219ed4541e3d3b5e1d32d0 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
@@ -333,7 +333,7 @@ void ElementShadow::distributeV0()
void ElementShadow::distributeV1()
{
if (!m_slotAssignment)
- m_slotAssignment = adoptPtr(new SlotAssignment());
+ m_slotAssignment = SlotAssignment::create();
m_slotAssignment->resolveAssignment(youngestShadowRoot());
}
@@ -404,6 +404,7 @@ DEFINE_TRACE(ElementShadow)
// It is therefore enough to trace one of the shadow roots here and the
// rest will be traced from there.
visitor->trace(m_shadowRoots.head());
+ visitor->trace(m_slotAssignment);
#endif
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/ElementShadow.h ('k') | third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698