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

Unified Diff: ppapi/tests/test_var_deprecated.cc

Issue 6282007: First pass at making the proxy handle multiple renderers. This associates the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: ppapi/tests/test_var_deprecated.cc
===================================================================
--- ppapi/tests/test_var_deprecated.cc (revision 71670)
+++ ppapi/tests/test_var_deprecated.cc (working copy)
@@ -47,7 +47,7 @@
}
std::string TestVarDeprecated::TestBasicString() {
- uint32_t before_object = testing_interface_->GetLiveObjectCount(
+ uint32_t before_object = testing_interface_->GetLiveObjectsForInstance(
pp::Module::Get()->pp_module());
piman 2011/01/20 00:26:23 pp::Module::Get()->pp_module() -> instance_->pp_in
{
const uint32_t kStrLen = 5;
@@ -70,8 +70,8 @@
}
// Make sure nothing leaked.
- ASSERT_TRUE(testing_interface_->GetLiveObjectCount(
- pp::Module::Get()->pp_module()) == before_object);
+ ASSERT_TRUE(testing_interface_->GetLiveObjectsForInstance(
+ instance_->pp_instance()) == before_object);
PASS();
}
@@ -251,8 +251,8 @@
}
std::string TestVarDeprecated::TestHasPropertyAndMethod() {
- uint32_t before_objects = testing_interface_->GetLiveObjectCount(
- pp::Module::Get()->pp_module());
+ uint32_t before_objects = testing_interface_->GetLiveObjectsForInstance(
+ instance_->pp_instance());
{
pp::Var window = instance_->GetWindowObject();
ASSERT_TRUE(window.is_object());
@@ -321,8 +321,8 @@
}
// Make sure nothing leaked.
- ASSERT_TRUE(testing_interface_->GetLiveObjectCount(
- pp::Module::Get()->pp_module()) == before_objects);
+ ASSERT_TRUE(testing_interface_->GetLiveObjectsForInstance(
+ instance_->pp_instance()) == before_objects);
PASS();
}

Powered by Google App Engine
This is Rietveld 408576698