Index: webkit/plugins/ppapi/mock_plugin_delegate.cc |
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc |
index 756770f357753b8e9fb14e9efa58641a2d396ea9..991142b8f5999679a74e6b0e162527ffbd72c771 100644 |
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc |
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc |
@@ -10,6 +10,7 @@ |
#include "ppapi/shared_impl/ppapi_preferences.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.h" |
#include "webkit/plugins/ppapi/mock_platform_image_2d.h" |
+#include "webkit/plugins/ppapi/plugin_delegate.h" |
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
namespace webkit { |
@@ -77,6 +78,12 @@ MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D( |
return new MockPlatformImage2D(width, height); |
} |
+PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D( |
+ PluginInstance* instance, |
+ PP_Resource graphics_2d) { |
+ return NULL; |
+} |
+ |
MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { |
return NULL; |
} |