| Index: ppapi/proxy/resource_creation_proxy.cc
|
| diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
|
| index 7f3c809033b1b05b5923d04baa87c89c4767463e..8996470e0a2eb427d57f4f6134348e7e7f335eac 100644
|
| --- a/ppapi/proxy/resource_creation_proxy.cc
|
| +++ b/ppapi/proxy/resource_creation_proxy.cc
|
| @@ -10,6 +10,7 @@
|
| #include "ppapi/proxy/connection.h"
|
| #include "ppapi/proxy/file_chooser_resource.h"
|
| #include "ppapi/proxy/flash_device_id_resource.h"
|
| +#include "ppapi/proxy/graphics_2d_resource.h"
|
| #include "ppapi/proxy/plugin_dispatcher.h"
|
| #include "ppapi/proxy/plugin_globals.h"
|
| #include "ppapi/proxy/plugin_proxy_delegate.h"
|
| @@ -24,7 +25,6 @@
|
| #include "ppapi/proxy/ppb_file_system_proxy.h"
|
| #include "ppapi/proxy/ppb_flash_menu_proxy.h"
|
| #include "ppapi/proxy/ppb_flash_message_loop_proxy.h"
|
| -#include "ppapi/proxy/ppb_graphics_2d_proxy.h"
|
| #include "ppapi/proxy/ppb_graphics_3d_proxy.h"
|
| #include "ppapi/proxy/ppb_host_resolver_private_proxy.h"
|
| #include "ppapi/proxy/ppb_image_data_proxy.h"
|
| @@ -207,8 +207,9 @@ PP_Resource ResourceCreationProxy::CreateImageDataNaCl(
|
| PP_Resource ResourceCreationProxy::CreateGraphics2D(PP_Instance instance,
|
| const PP_Size& size,
|
| PP_Bool is_always_opaque) {
|
| - return PPB_Graphics2D_Proxy::CreateProxyResource(instance, size,
|
| - is_always_opaque);
|
| + Graphics2DResource* res = Graphics2DResource::Create(
|
| + GetConnection(), instance, size, is_always_opaque);
|
| + return res ? res->GetReference() : 0;
|
| }
|
|
|
| PP_Resource ResourceCreationProxy::CreateGraphics3D(
|
|
|