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

Unified Diff: ppapi/thunk/ppb_file_chooser_thunk.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « ppapi/proxy/serialized_var.h ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_file_chooser_thunk.cc
diff --git a/ppapi/thunk/ppb_file_chooser_thunk.cc b/ppapi/thunk/ppb_file_chooser_thunk.cc
index c52125a42996325e31f636644e8d4b1e165c3b19..12dd62b515a89b8a9f748a1c0b5bc58327da8296 100644
--- a/ppapi/thunk/ppb_file_chooser_thunk.cc
+++ b/ppapi/thunk/ppb_file_chooser_thunk.cc
@@ -26,7 +26,7 @@ PP_Resource Create(PP_Instance instance,
return 0;
scoped_refptr<StringVar> string_var =
StringVar::FromPPVar(accept_types);
- std::string str = string_var ? string_var->value() : std::string();
+ std::string str = string_var.get() ? string_var->value() : std::string();
return enter.functions()->CreateFileChooser(instance, mode, str.c_str());
}
« no previous file with comments | « ppapi/proxy/serialized_var.h ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698