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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h

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, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
index 20bb6d20924b02cc011f2251c9c0b693dba0a168..a84daa8d17d4d86ee5d99fde81384ea09a5960e9 100644
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.h
@@ -48,9 +48,9 @@ class Page;
class MODULES_EXPORT InspectorDatabaseAgent final : public InspectorBaseAgent<InspectorDatabaseAgent, protocol::Frontend::Database>, public protocol::Backend::Database {
WTF_MAKE_NONCOPYABLE(InspectorDatabaseAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create(Page* page)
+ static RawPtr<InspectorDatabaseAgent> create(Page* page)
{
- return adoptPtrWillBeNoop(new InspectorDatabaseAgent(page));
+ return new InspectorDatabaseAgent(page);
}
~InspectorDatabaseAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -71,8 +71,8 @@ private:
blink::Database* databaseForId(const String& databaseId);
InspectorDatabaseResource* findByFileName(const String& fileName);
- RawPtrWillBeMember<Page> m_page;
- typedef PersistentHeapHashMapWillBeHeapHashMap<String, Member<InspectorDatabaseResource>> DatabaseResourcesHeapMap;
+ Member<Page> m_page;
+ typedef HeapHashMap<String, Member<InspectorDatabaseResource>> DatabaseResourcesHeapMap;
DatabaseResourcesHeapMap m_resources;
bool m_enabled;
};

Powered by Google App Engine
This is Rietveld 408576698