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

Unified Diff: ppapi/native_client/tests/ppapi_browser/ppb_var/ppapi_ppb_var.cc

Issue 8883035: Update ppb_var NaCl test to use 1.1 interface (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/tests/ppapi_browser/ppb_var/ppapi_ppb_var.cc
===================================================================
--- ppapi/native_client/tests/ppapi_browser/ppb_var/ppapi_ppb_var.cc (revision 113681)
+++ ppapi/native_client/tests/ppapi_browser/ppb_var/ppapi_ppb_var.cc (working copy)
@@ -31,8 +31,7 @@
static const char* kTestString = "A test string";
const uint32_t kTestStringLen = strlen(kTestString);
for (int i = 0; i < kNumTriesPerThread; ++i) {
- vars[i] =
- var_interface->VarFromUtf8(pp_module(), kTestString, kTestStringLen);
+ vars[i] = var_interface->VarFromUtf8(kTestString, kTestStringLen);
}
for (int i = 0; i < kNumTriesPerThread; ++i) {
var_interface->Release(vars[i]);
@@ -88,8 +87,7 @@
pthread_t tid[kNumThreads];
static const char* kTestString = "A test string";
const uint32_t kTestStringLen = strlen(kTestString);
- PP_Var test_var =
- var_interface->VarFromUtf8(pp_module(), kTestString, kTestStringLen);
+ PP_Var test_var = var_interface->VarFromUtf8(kTestString, kTestStringLen);
for (int i = 0; i < kNumThreads; ++i) {
EXPECT(pthread_create(&tid[i],
NULL,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698