Index: content/renderer/pepper/ppapi_unittest.cc |
=================================================================== |
--- content/renderer/pepper/ppapi_unittest.cc (revision 214295) |
+++ content/renderer/pepper/ppapi_unittest.cc (working copy) |
@@ -7,9 +7,9 @@ |
#include "base/message_loop/message_loop.h" |
#include "content/renderer/pepper/gfx_conversion.h" |
#include "content/renderer/pepper/host_globals.h" |
-#include "content/renderer/pepper/mock_plugin_delegate.h" |
#include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
#include "content/renderer/pepper/plugin_module.h" |
+#include "ppapi/c/pp_errors.h" |
#include "ppapi/c/pp_var.h" |
#include "ppapi/c/ppp_instance.h" |
#include "ppapi/shared_impl/ppapi_globals.h" |
@@ -76,7 +76,6 @@ |
void PpapiUnittest::SetUp() { |
message_loop_.reset(new base::MessageLoop()); |
- delegate_.reset(new MockPluginDelegate()); |
// Initialize the mock module. |
module_ = new PluginModule("Mock plugin", base::FilePath(), |
@@ -89,7 +88,7 @@ |
// Initialize the mock instance. |
instance_ = PepperPluginInstanceImpl::Create( |
- delegate_.get(), NULL, module(), NULL, GURL()); |
+ NULL, NULL, module(), NULL, GURL()); |
} |
void PpapiUnittest::TearDown() { |