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

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

Issue 7038044: First step to remove scripting from PPP_Instance and PPB_Instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 7 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_unittest.cc ('k') | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource_tracker_unittest.cc
diff --git a/webkit/plugins/ppapi/resource_tracker_unittest.cc b/webkit/plugins/ppapi/resource_tracker_unittest.cc
index 4bbe0e6ad5b589a7517a3df4372e738ebda57a79..cde0444b86caf40ba7ce89f695bf7277c6cbffa8 100644
--- a/webkit/plugins/ppapi/resource_tracker_unittest.cc
+++ b/webkit/plugins/ppapi/resource_tracker_unittest.cc
@@ -142,7 +142,7 @@ TEST_F(ResourceTrackerTest, DeleteResourceWithInstance) {
// Make a second instance (the test harness already creates & manages one).
scoped_refptr<PluginInstance> instance2(
new PluginInstance(delegate(), module(),
- static_cast<const PPP_Instance*>(
+ PluginInstance::new_instance_interface<PPP_Instance>(
GetMockInterface(PPP_INSTANCE_INTERFACE))));
PP_Instance pp_instance2 = instance2->pp_instance();
@@ -177,7 +177,7 @@ TEST_F(ResourceTrackerTest, DeleteObjectVarWithInstance) {
// Make a second instance (the test harness already creates & manages one).
scoped_refptr<PluginInstance> instance2(
new PluginInstance(delegate(), module(),
- static_cast<const PPP_Instance*>(
+ PluginInstance::new_instance_interface<PPP_Instance>(
GetMockInterface(PPP_INSTANCE_INTERFACE))));
PP_Instance pp_instance2 = instance2->pp_instance();
« no previous file with comments | « webkit/plugins/ppapi/ppapi_unittest.cc ('k') | webkit/tools/test_shell/test_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698