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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "modules/serviceworkers/ServiceWorkerLinkResource.h" 5 #include "modules/serviceworkers/ServiceWorkerLinkResource.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"
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 34
35 private: 35 private:
36 WTF_MAKE_NONCOPYABLE(RegistrationCallback); 36 WTF_MAKE_NONCOPYABLE(RegistrationCallback);
37 37
38 Persistent<LinkLoaderClient> m_client; 38 Persistent<LinkLoaderClient> m_client;
39 }; 39 };
40 40
41 } 41 }
42 42
43 RawPtr<ServiceWorkerLinkResource> ServiceWorkerLinkResource::create(HTMLLinkElem ent* owner) 43 ServiceWorkerLinkResource* ServiceWorkerLinkResource::create(HTMLLinkElement* ow ner)
44 { 44 {
45 return new ServiceWorkerLinkResource(owner); 45 return new ServiceWorkerLinkResource(owner);
46 } 46 }
47 47
48 ServiceWorkerLinkResource::~ServiceWorkerLinkResource() 48 ServiceWorkerLinkResource::~ServiceWorkerLinkResource()
49 { 49 {
50 } 50 }
51 51
52 void ServiceWorkerLinkResource::process() 52 void ServiceWorkerLinkResource::process()
53 { 53 {
(...skipping 29 matching lines...) Expand all
83 { 83 {
84 process(); 84 process();
85 } 85 }
86 86
87 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner) 87 ServiceWorkerLinkResource::ServiceWorkerLinkResource(HTMLLinkElement* owner)
88 : LinkResource(owner) 88 : LinkResource(owner)
89 { 89 {
90 } 90 }
91 91
92 } // namespace blink 92 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698