| Index: third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
|
| index 9cb9909f191fc5ca3a9a19b08e4d4305f9e184c7..7c25adc2a9ca7fa8f9a777d2ba4c84a1a5ead35f 100644
|
| --- a/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
|
| @@ -11,9 +11,9 @@
|
|
|
| namespace blink {
|
|
|
| -PassOwnPtrWillBeRawPtr<HTMLImportTreeRoot> HTMLImportTreeRoot::create(Document* document)
|
| +RawPtr<HTMLImportTreeRoot> HTMLImportTreeRoot::create(Document* document)
|
| {
|
| - return adoptPtrWillBeNoop(new HTMLImportTreeRoot(document));
|
| + return new HTMLImportTreeRoot(document);
|
| }
|
|
|
| HTMLImportTreeRoot::HTMLImportTreeRoot(Document* document)
|
| @@ -78,7 +78,7 @@ void HTMLImportTreeRoot::scheduleRecalcState()
|
| m_recalcTimer.startOneShot(0, BLINK_FROM_HERE);
|
| }
|
|
|
| -HTMLImportChild* HTMLImportTreeRoot::add(PassOwnPtrWillBeRawPtr<HTMLImportChild> child)
|
| +HTMLImportChild* HTMLImportTreeRoot::add(RawPtr<HTMLImportChild> child)
|
| {
|
| m_imports.append(child);
|
| return m_imports.last().get();
|
| @@ -98,7 +98,7 @@ HTMLImportChild* HTMLImportTreeRoot::find(const KURL& url) const
|
| void HTMLImportTreeRoot::recalcTimerFired(Timer<HTMLImportTreeRoot>*)
|
| {
|
| ASSERT(m_document);
|
| - RefPtrWillBeRawPtr<Document> protectDocument(m_document.get());
|
| + RawPtr<Document> protectDocument(m_document.get());
|
| HTMLImport::recalcTreeState(this);
|
| }
|
|
|
|
|