Index: ppapi/shared_impl/var.cc |
diff --git a/ppapi/shared_impl/var.cc b/ppapi/shared_impl/var.cc |
index 9644a44034cc07a7c0fe7276464cf5ff19757f25..d128d90241a36ef77b6042c029d0c2642a5321c2 100644 |
--- a/ppapi/shared_impl/var.cc |
+++ b/ppapi/shared_impl/var.cc |
@@ -71,8 +71,8 @@ std::string Var::PPVarToLogString(PP_Var var) { |
if (resource->IsPending()) { |
return base::StringPrintf("[Pending resource]"); |
- } else if (resource->pp_resource()) { |
- return base::StringPrintf("[Resource %d]", resource->pp_resource()); |
+ } else if (resource->GetPPResource()) { |
+ return base::StringPrintf("[Resource %d]", resource->GetPPResource()); |
} else { |
return "[Null resource]"; |
} |