Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 8be13446f18645649efdd25a428a4ea025891357..9ef9f384b0a839daf14c3682018a9a9476ae2f8c 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -122,9 +122,9 @@ inline void DistributionPool::detachNonDistributedNodes() |
} |
} |
-PassOwnPtr<ElementShadow> ElementShadow::create() |
+PassOwnPtrWillBeRawPtr<ElementShadow> ElementShadow::create() |
{ |
- return adoptPtr(new ElementShadow()); |
+ return adoptPtrWillBeNoop(new ElementShadow()); |
} |
ElementShadow::ElementShadow() |
@@ -178,7 +178,6 @@ void ElementShadow::removeDetachedShadowRoots() |
oldRoot->setPrev(0); |
oldRoot->setNext(0); |
} |
- |
} |
void ElementShadow::attach(const Node::AttachContext& context) |