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

Unified Diff: webkit/browser/quota/quota_manager.cc

Issue 16207005: Fix remaining uses of WeakPtr<T>'s operator T* conversion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « net/spdy/spdy_write_queue_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/quota/quota_manager.cc
diff --git a/webkit/browser/quota/quota_manager.cc b/webkit/browser/quota/quota_manager.cc
index fdec99d3a8af0d18fcaed91c9806b78de804396d..54d8c13ca6d65505c088865ccaf1134fa6169994 100644
--- a/webkit/browser/quota/quota_manager.cc
+++ b/webkit/browser/quota/quota_manager.cc
@@ -705,7 +705,7 @@ class QuotaManager::GetModifiedSinceHelper {
return database->GetOriginsModifiedSince(type, &origins_, modified_since);
}
- void DidGetModifiedSince(QuotaManager* manager,
+ void DidGetModifiedSince(const base::WeakPtr<QuotaManager>& manager,
const GetOriginsCallback& callback,
StorageType type,
bool success) {
@@ -731,7 +731,7 @@ class QuotaManager::DumpQuotaTableHelper {
base::Unretained(this))));
}
- void DidDumpQuotaTable(QuotaManager* manager,
+ void DidDumpQuotaTable(const base::WeakPtr<QuotaManager>& manager,
const DumpQuotaTableCallback& callback,
bool success) {
if (!manager) {
@@ -763,7 +763,7 @@ class QuotaManager::DumpOriginInfoTableHelper {
base::Unretained(this))));
}
- void DidDumpOriginInfoTable(QuotaManager* manager,
+ void DidDumpOriginInfoTable(const base::WeakPtr<QuotaManager>& manager,
const DumpOriginInfoTableCallback& callback,
bool success) {
if (!manager) {
« no previous file with comments | « net/spdy/spdy_write_queue_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698