Index: chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc |
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc |
index c0a7df3830fdc9e7fc52cdff466cbb6305de7e6f..88d0dd2c624dce6d1d2ce776330fe585b0ad1691 100644 |
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc |
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc |
@@ -23,7 +23,7 @@ namespace quota_internals { |
QuotaInternalsHandler::QuotaInternalsHandler() {} |
QuotaInternalsHandler::~QuotaInternalsHandler() { |
- if (proxy_) |
+ if (proxy_.get()) |
proxy_->handler_ = NULL; |
} |
@@ -85,7 +85,7 @@ void QuotaInternalsHandler::SendMessage(const std::string& message, |
} |
void QuotaInternalsHandler::OnRequestInfo(const base::ListValue*) { |
- if (!proxy_) |
+ if (!proxy_.get()) |
proxy_ = new QuotaInternalsProxy(this); |
proxy_->RequestInfo( |
BrowserContext::GetDefaultStoragePartition( |