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

Unified Diff: ppapi/proxy/plugin_var_tracker_unittest.cc

Issue 821453003: Update legacy Tuple-using code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 | « ppapi/proxy/nacl_message_scanner.cc ('k') | ppapi/proxy/ppapi_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_var_tracker_unittest.cc
diff --git a/ppapi/proxy/plugin_var_tracker_unittest.cc b/ppapi/proxy/plugin_var_tracker_unittest.cc
index f43d7a8d4da21969210822ea78e5e4564654eb89..fe0a82dd9b6ae997d7b52b037dae80a9d1d0cc3b 100644
--- a/ppapi/proxy/plugin_var_tracker_unittest.cc
+++ b/ppapi/proxy/plugin_var_tracker_unittest.cc
@@ -56,9 +56,9 @@ class PluginVarTrackerTest : public PluginProxyTest {
if (!release_msg)
return -1;
- Tuple1<int64> id;
+ Tuple<int64> id;
PpapiHostMsg_PPBVar_ReleaseObject::Read(release_msg, &id);
- return id.a;
+ return get<0>(id);
}
};
« no previous file with comments | « ppapi/proxy/nacl_message_scanner.cc ('k') | ppapi/proxy/ppapi_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698