diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-27 10:36:11 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-27 10:36:11 +0000 |
commit | 198b590bb15422d06a14f59700c72f2fa71b1314 (patch) | |
tree | df70ac39d5a72ee95a89b8dfc2aa679dcb254f30 /ppapi | |
parent | 4fbcb6bf01014e8508e7e2258055ed1750bd5aa0 (diff) | |
download | chromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.zip chromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.tar.gz chromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.tar.bz2 |
Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*"
Fixes a number of cases either not caught by the automated tool or that have
recently regressed.
BUG=206189
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/17948002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/file_ref_resource.cc | 2 | ||||
-rw-r--r-- | ppapi/proxy/plugin_main_nacl.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/proxy/file_ref_resource.cc b/ppapi/proxy/file_ref_resource.cc index 29e8105..c66a321 100644 --- a/ppapi/proxy/file_ref_resource.cc +++ b/ppapi/proxy/file_ref_resource.cc @@ -211,7 +211,7 @@ int32_t FileRefResource::ReadDirectoryEntriesInHost( } PP_Var FileRefResource::GetAbsolutePath() { - if (!absolute_path_var_) { + if (!absolute_path_var_.get()) { std::string absolute_path; int32_t result = SyncCall<PpapiPluginMsg_FileRef_GetAbsolutePathReply>( BROWSER, PpapiHostMsg_FileRef_GetAbsolutePath(), &absolute_path); diff --git a/ppapi/proxy/plugin_main_nacl.cc b/ppapi/proxy/plugin_main_nacl.cc index e6ee97d..df59af9e 100644 --- a/ppapi/proxy/plugin_main_nacl.cc +++ b/ppapi/proxy/plugin_main_nacl.cc @@ -108,7 +108,8 @@ PpapiDispatcher::PpapiDispatcher(scoped_refptr<base::MessageLoopProxy> io_loop) // NaCl sandbox. InitWithChannel(this, base::kNullProcessId, channel_handle, false); // Channel is server. - channel()->AddFilter(new tracing::ChildTraceMessageFilter(message_loop_)); + channel()->AddFilter( + new tracing::ChildTraceMessageFilter(message_loop_.get())); } base::MessageLoopProxy* PpapiDispatcher::GetIPCMessageLoop() { |