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

Unified Diff: ppapi/tests/test_char_set.cc

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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_case.cc ('k') | ppapi/tests/test_flash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_char_set.cc
diff --git a/ppapi/tests/test_char_set.cc b/ppapi/tests/test_char_set.cc
index dfff9ed11735f03424ede75ba629d2aa7b68c069..5056c2c988b90e7c5439fa6e357cbb0745416a13 100644
--- a/ppapi/tests/test_char_set.cc
+++ b/ppapi/tests/test_char_set.cc
@@ -352,11 +352,11 @@ std::string TestCharSet::TestCharSetToUTF16() {
std::string TestCharSet::TestGetDefaultCharSet() {
// Test invalid instance.
- pp::Var result(pp::Var::PassRef(), char_set_interface_->GetDefaultCharSet(0));
+ pp::Var result(pp::PASS_REF, char_set_interface_->GetDefaultCharSet(0));
ASSERT_TRUE(result.is_undefined());
// Just make sure the default char set is a nonempty string.
- result = pp::Var(pp::Var::PassRef(),
+ result = pp::Var(pp::PASS_REF,
char_set_interface_->GetDefaultCharSet(instance_->pp_instance()));
ASSERT_TRUE(result.is_string());
ASSERT_FALSE(result.AsString().empty());
« no previous file with comments | « ppapi/tests/test_case.cc ('k') | ppapi/tests/test_flash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698