Index: webkit/browser/quota/quota_manager.cc |
diff --git a/webkit/browser/quota/quota_manager.cc b/webkit/browser/quota/quota_manager.cc |
index 54d8c13ca6d65505c088865ccaf1134fa6169994..b2c78b030fd476880ef6044a591372d94aaca881 100644 |
--- a/webkit/browser/quota/quota_manager.cc |
+++ b/webkit/browser/quota/quota_manager.cc |
@@ -709,7 +709,7 @@ class QuotaManager::GetModifiedSinceHelper { |
const GetOriginsCallback& callback, |
StorageType type, |
bool success) { |
- if (!manager) { |
+ if (!manager.get()) { |
// The operation was aborted. |
callback.Run(std::set<GURL>(), type); |
return; |
@@ -734,7 +734,7 @@ class QuotaManager::DumpQuotaTableHelper { |
void DidDumpQuotaTable(const base::WeakPtr<QuotaManager>& manager, |
const DumpQuotaTableCallback& callback, |
bool success) { |
- if (!manager) { |
+ if (!manager.get()) { |
// The operation was aborted. |
callback.Run(QuotaTableEntries()); |
return; |
@@ -766,7 +766,7 @@ class QuotaManager::DumpOriginInfoTableHelper { |
void DidDumpOriginInfoTable(const base::WeakPtr<QuotaManager>& manager, |
const DumpOriginInfoTableCallback& callback, |
bool success) { |
- if (!manager) { |
+ if (!manager.get()) { |
// The operation was aborted. |
callback.Run(OriginInfoTableEntries()); |
return; |