Index: ppapi/proxy/ppp_instance_proxy.cc |
diff --git a/ppapi/proxy/ppp_instance_proxy.cc b/ppapi/proxy/ppp_instance_proxy.cc |
index 8ad8ae409ca745c0b552bc4c260d9762b586f38c..8a811b6d5cb1c61abdae9a1ff7ca2d382ac833e2 100644 |
--- a/ppapi/proxy/ppp_instance_proxy.cc |
+++ b/ppapi/proxy/ppp_instance_proxy.cc |
@@ -239,7 +239,7 @@ void PPP_Instance_Proxy::OnPluginMsgDidChangeView( |
ScopedPPResource resource( |
ScopedPPResource::PassRef(), |
- (new PPB_View_Shared(PPB_View_Shared::InitAsProxy(), |
+ (new PPB_View_Shared(OBJECT_IS_PROXY, |
instance, new_data))->GetReference()); |
combined_interface_->DidChangeView(instance, resource, |