| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/html/LinkManifest.h" | 5 #include "core/html/LinkManifest.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
| 9 #include "core/html/HTMLLinkElement.h" | 9 #include "core/html/HTMLLinkElement.h" |
| 10 #include "core/loader/FrameLoaderClient.h" | 10 #include "core/loader/FrameLoaderClient.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 PassOwnPtrWillBeRawPtr<LinkManifest> LinkManifest::create(HTMLLinkElement* owner
) | 14 RawPtr<LinkManifest> LinkManifest::create(HTMLLinkElement* owner) |
| 15 { | 15 { |
| 16 return adoptPtrWillBeNoop(new LinkManifest(owner)); | 16 return new LinkManifest(owner); |
| 17 } | 17 } |
| 18 | 18 |
| 19 LinkManifest::LinkManifest(HTMLLinkElement* owner) | 19 LinkManifest::LinkManifest(HTMLLinkElement* owner) |
| 20 : LinkResource(owner) | 20 : LinkResource(owner) |
| 21 { | 21 { |
| 22 } | 22 } |
| 23 | 23 |
| 24 LinkManifest::~LinkManifest() | 24 LinkManifest::~LinkManifest() |
| 25 { | 25 { |
| 26 } | 26 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 37 { | 37 { |
| 38 return false; | 38 return false; |
| 39 } | 39 } |
| 40 | 40 |
| 41 void LinkManifest::ownerRemoved() | 41 void LinkManifest::ownerRemoved() |
| 42 { | 42 { |
| 43 process(); | 43 process(); |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| OLD | NEW |