Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: webkit/plugins/ppapi/ppapi_unittest.cc

Issue 7471006: Revert 93223 - Reland http://codereview.chromium.org/7452002/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/resource_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_unittest.cc
===================================================================
--- webkit/plugins/ppapi/ppapi_unittest.cc (revision 93228)
+++ webkit/plugins/ppapi/ppapi_unittest.cc (working copy)
@@ -61,6 +61,7 @@
&Instance_DidDestroy,
&Instance_DidChangeView,
&Instance_DidChangeFocus,
+ &Instance_HandleInputEvent,
&Instance_HandleDocumentLoad
};
@@ -89,10 +90,10 @@
ASSERT_TRUE(module_->InitAsInternalPlugin(entry_points));
// Initialize the mock instance.
- instance_ = PluginInstance::Create1_0(
+ instance_ = PluginInstance::Create0_5(
delegate_.get(),
module(),
- GetMockInterface(PPP_INSTANCE_INTERFACE_1_0));
+ GetMockInterface(PPP_INSTANCE_INTERFACE_0_5));
}
@@ -102,7 +103,7 @@
}
const void* PpapiUnittest::GetMockInterface(const char* interface_name) const {
- if (strcmp(interface_name, PPP_INSTANCE_INTERFACE_1_0) == 0)
+ if (strcmp(interface_name, PPP_INSTANCE_INTERFACE_0_5) == 0)
return &mock_instance_interface;
return NULL;
}
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/resource_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698