Index: webkit/plugins/ppapi/plugin_delegate.h |
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h |
index 304cb0905246032531a9cd8c19e479b5a87e12eb..0cfde934feb323651102af38c9ca4d22d6a13b3a 100644 |
--- a/webkit/plugins/ppapi/plugin_delegate.h |
+++ b/webkit/plugins/ppapi/plugin_delegate.h |
@@ -31,6 +31,7 @@ |
#include "webkit/plugins/ppapi/dir_contents.h" |
#include "webkit/quota/quota_types.h" |
+class CommandBufferProxy; |
class GURL; |
class SkBitmap; |
class TransportDIB; |
@@ -170,7 +171,8 @@ class PluginDelegate { |
virtual ~PlatformContext3D() {} |
// Initialize the context. |
- virtual bool Init(const int32* attrib_list) = 0; |
+ virtual bool Init(const int32* attrib_list, |
+ CommandBufferProxy* share_buffer) = 0; |
piman
2012/05/15 20:59:17
CommandBufferProxy here is a layering violation. I
|
// If the plugin instance is backed by an OpenGL, return its ID in the |
// compositors namespace. Otherwise return 0. Returns 0 by default. |