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

Side by Side Diff: third_party/WebKit/Source/core/html/PublicURLManager.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 /* 1 /*
2 * Copyright (C) 2012 Motorola Mobility Inc. 2 * Copyright (C) 2012 Motorola Mobility Inc.
3 * Copyright (C) 2013 Google Inc. All Rights Reserved. 3 * Copyright (C) 2013 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 16 matching lines...) Expand all
27 #include "core/html/PublicURLManager.h" 27 #include "core/html/PublicURLManager.h"
28 28
29 #include "core/fetch/MemoryCache.h" 29 #include "core/fetch/MemoryCache.h"
30 #include "core/html/URLRegistry.h" 30 #include "core/html/URLRegistry.h"
31 #include "platform/weborigin/KURL.h" 31 #include "platform/weborigin/KURL.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 #include "wtf/text/StringHash.h" 33 #include "wtf/text/StringHash.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 PassOwnPtrWillBeRawPtr<PublicURLManager> PublicURLManager::create(ExecutionConte xt* context) 37 RawPtr<PublicURLManager> PublicURLManager::create(ExecutionContext* context)
38 { 38 {
39 OwnPtrWillBeRawPtr<PublicURLManager> publicURLManager = adoptPtrWillBeNoop(n ew PublicURLManager(context)); 39 RawPtr<PublicURLManager> publicURLManager = new PublicURLManager(context);
40 publicURLManager->suspendIfNeeded(); 40 publicURLManager->suspendIfNeeded();
41 return publicURLManager.release(); 41 return publicURLManager.release();
42 } 42 }
43 43
44 PublicURLManager::PublicURLManager(ExecutionContext* context) 44 PublicURLManager::PublicURLManager(ExecutionContext* context)
45 : ActiveDOMObject(context) 45 : ActiveDOMObject(context)
46 , m_isStopped(false) 46 , m_isStopped(false)
47 { 47 {
48 } 48 }
49 49
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 m_registryToURL.clear(); 103 m_registryToURL.clear();
104 } 104 }
105 105
106 DEFINE_TRACE(PublicURLManager) 106 DEFINE_TRACE(PublicURLManager)
107 { 107 {
108 ActiveDOMObject::trace(visitor); 108 ActiveDOMObject::trace(visitor);
109 } 109 }
110 110
111 } // namespace blink 111 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/PublicURLManager.h ('k') | third_party/WebKit/Source/core/html/RadioNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698