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

Unified Diff: ppapi/tests/test_var_deprecated.cc

Issue 7329024: Revert 91859 - Porting ppapi_tests framework to postMessage. (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 | « ppapi/tests/test_var_deprecated.h ('k') | ppapi/tests/testing_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_var_deprecated.cc
===================================================================
--- ppapi/tests/test_var_deprecated.cc (revision 91865)
+++ ppapi/tests/test_var_deprecated.cc (working copy)
@@ -57,7 +57,7 @@
if (args.size() != 1)
*exception = pp::Var("Bad argument to SetValue(<value>)");
else
- test_var_deprecated_->set_var_from_page(pp::VarPrivate(args[0]));
+ test_var_deprecated_->set_var_from_page(args[0]);
}
return pp::Var();
@@ -297,7 +297,7 @@
uint32_t before_objects = testing_interface_->GetLiveObjectsForInstance(
instance_->pp_instance());
{
- pp::VarPrivate window = instance_->GetWindowObject();
+ pp::Var window = instance_->GetWindowObject();
ASSERT_TRUE(window.is_object());
// Regular property.
@@ -330,7 +330,7 @@
// Try to use something not an object.
exception = pp::Var();
- pp::VarPrivate string_object("asdf");
+ pp::Var string_object("asdf");
ASSERT_FALSE(string_object.HasProperty("find", &exception));
ASSERT_FALSE(exception.is_undefined());
exception = pp::Var();
@@ -397,4 +397,3 @@
PASS();
}
-
« no previous file with comments | « ppapi/tests/test_var_deprecated.h ('k') | ppapi/tests/testing_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698