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

Unified Diff: webkit/tools/test_shell/simple_file_system.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (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
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;
}
« no previous file with comments | « webkit/tools/test_shell/simple_dom_storage_system.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698