Index: webkit/tools/test_shell/simple_file_system.cc |
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc |
index 94310dc2469002ee7f10b9be7af7162afb1e5cbe..7fe4ff5a036273cb78f763fe89023b3c57bf223b 100644 |
--- a/webkit/tools/test_shell/simple_file_system.cc |
+++ b/webkit/tools/test_shell/simple_file_system.cc |
@@ -93,7 +93,7 @@ void SimpleFileSystem::OpenFileSystem( |
WebKit::WebFileSystemType type, |
long long, bool create, |
WebFileSystemCallbacks* callbacks) { |
- if (!frame || !file_system_context_) { |
+ if (!frame || !file_system_context_.get()) { |
// The FileSystem temp directory was not initialized successfully. |
callbacks->didFail(WebKit::WebFileErrorSecurity); |
return; |
@@ -112,7 +112,7 @@ void SimpleFileSystem::DeleteFileSystem( |
WebFrame* frame, |
WebKit::WebFileSystemType type, |
WebFileSystemCallbacks* callbacks) { |
- if (!frame || !file_system_context_) { |
+ if (!frame || !file_system_context_.get()) { |
callbacks->didFail(WebKit::WebFileErrorSecurity); |
return; |
} |