Index: content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc |
index 96180cbc6c04c7f63939b064dfd5bde4fae878cb..4189741d34b79a86c3c819e18d065c6c1fc938d5 100644 |
--- a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc |
+++ b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc |
@@ -66,7 +66,7 @@ PepperFileSystemBrowserHost::PepperFileSystemBrowserHost(BrowserPpapiHost* host, |
} |
PepperFileSystemBrowserHost::~PepperFileSystemBrowserHost() { |
- if (fs_context_) |
+ if (fs_context_.get()) |
fs_context_->operation_runner()->Shutdown(); |
} |
@@ -137,9 +137,9 @@ void PepperFileSystemBrowserHost::GotFileSystemContext( |
ppapi::host::ReplyMessageContext reply_context, |
fileapi::FileSystemType file_system_type, |
scoped_refptr<fileapi::FileSystemContext> fs_context) { |
- if (!fs_context) { |
- OpenFileSystemComplete(reply_context, base::PLATFORM_FILE_ERROR_FAILED, |
- std::string(), GURL()); |
+ if (!fs_context.get()) { |
+ OpenFileSystemComplete( |
+ reply_context, base::PLATFORM_FILE_ERROR_FAILED, std::string(), GURL()); |
return; |
} |
GURL origin = browser_ppapi_host_->GetDocumentURLForInstance( |