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

Unified Diff: ui/base/dragdrop/os_exchange_data_unittest.cc

Issue 818833004: Remove deprecated methods from Pickle. (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 | « ui/base/clipboard/custom_data_helper.cc ('k') | ui/gfx/ipc/gfx_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_unittest.cc
diff --git a/ui/base/dragdrop/os_exchange_data_unittest.cc b/ui/base/dragdrop/os_exchange_data_unittest.cc
index 417b6a61820a896ec4efd65dc47bb128df4f43c5..9e2130c167208e409dfb73fef89fac6424c6bf76 100644
--- a/ui/base/dragdrop/os_exchange_data_unittest.cc
+++ b/ui/base/dragdrop/os_exchange_data_unittest.cc
@@ -160,9 +160,9 @@ TEST_F(OSExchangeDataTest, TestPickledData) {
EXPECT_TRUE(copy.GetPickledData(kTestFormat, &restored_pickle));
PickleIterator iterator(restored_pickle);
int value;
- EXPECT_TRUE(restored_pickle.ReadInt(&iterator, &value));
+ EXPECT_TRUE(iterator.ReadInt(&value));
EXPECT_EQ(1, value);
- EXPECT_TRUE(restored_pickle.ReadInt(&iterator, &value));
+ EXPECT_TRUE(iterator.ReadInt(&value));
EXPECT_EQ(2, value);
}
« no previous file with comments | « ui/base/clipboard/custom_data_helper.cc ('k') | ui/gfx/ipc/gfx_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698