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

Unified Diff: ppapi/proxy/file_ref_resource.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « net/url_request/url_request.cc ('k') | ppapi/proxy/plugin_main_nacl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/file_ref_resource.cc
diff --git a/ppapi/proxy/file_ref_resource.cc b/ppapi/proxy/file_ref_resource.cc
index 29e81059035d473910b1f077c4b2771253a2aef4..c66a321ad64f92177c1a4f02f8e987794e93f10f 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);
« no previous file with comments | « net/url_request/url_request.cc ('k') | ppapi/proxy/plugin_main_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698