From 00d320a6e403c645dc00d47217028aef5f2792a0 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 14 Feb 2012 00:27:04 +0000 Subject: Make a global enum to differentiate impl & proxy. Use this in resource constructors and remove all the old weird structs that we used to tell which one to call. This removes some extra code we had to deal with this. Review URL: http://codereview.chromium.org/9391013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121781 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppp_instance_proxy_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppapi/proxy/ppp_instance_proxy_unittest.cc') diff --git a/ppapi/proxy/ppp_instance_proxy_unittest.cc b/ppapi/proxy/ppp_instance_proxy_unittest.cc index 6e53023..199cc51 100644 --- a/ppapi/proxy/ppp_instance_proxy_unittest.cc +++ b/ppapi/proxy/ppp_instance_proxy_unittest.cc @@ -164,7 +164,7 @@ TEST_F(PPP_Instance_ProxyTest, PPPInstance1_0) { ResetReceived(); ScopedPPResource view_resource( ScopedPPResource::PassRef(), - (new PPB_View_Shared(PPB_View_Shared::InitAsImpl(), + (new PPB_View_Shared(OBJECT_IS_IMPL, expected_instance, data))->GetReference()); ppp_instance->DidChangeView(expected_instance, view_resource); did_change_view_called.Wait(); -- cgit v1.1