diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 19:38:55 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 19:38:55 +0000 |
commit | 73097564b57bad21efbb72e49a0edf0d13e9c249 (patch) | |
tree | 3f0e4f402f6fc1252765260241199519a94ce5e3 /ppapi/proxy/serialized_var_unittest.cc | |
parent | a21d8087f7ca0a8ccf2d07344b7dcfa34d455886 (diff) | |
download | chromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.zip chromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.tar.gz chromium_src-73097564b57bad21efbb72e49a0edf0d13e9c249.tar.bz2 |
Reland 9034035: Make it possible to have 1 PpapiGlobals per thread.
Original CL: r117399, http://codereview.chromium.org/9034035/
Reverted in r117414, http://codereview.chromium.org/9139054/ due to a static initializer.
This is the same as r117399 except using a LazyInstance to eliminate the static initializer.
BUG=
TEST=
TBR=dmichael@chromium.org
Review URL: http://codereview.chromium.org/9187055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/serialized_var_unittest.cc')
-rw-r--r-- | ppapi/proxy/serialized_var_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/proxy/serialized_var_unittest.cc b/ppapi/proxy/serialized_var_unittest.cc index 150f5e7..494a68d 100644 --- a/ppapi/proxy/serialized_var_unittest.cc +++ b/ppapi/proxy/serialized_var_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -115,7 +115,8 @@ TEST_F(SerializedVarTest, PluginSerializedStringVarInOutParam) { EXPECT_EQ(0u, sink().message_count()); } -// Tests receiving an argument and passing it back out as an output parameter. +// Tests receiving an argument and passing it back to the browser as an output +// parameter. TEST_F(SerializedVarTest, PluginSerializedVarOutParam) { PP_Var host_object = MakeObjectVar(0x31337); |