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

Unified Diff: chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc

Issue 9702013: Avoid using Pickle::WriteSize(), which writes an architecture-dependent amount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « chrome/browser/ui/views/extensions/browser_action_drag_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc
===================================================================
--- chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc (revision 126508)
+++ chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc (working copy)
@@ -42,7 +42,7 @@
Pickle pickle;
pickle.WriteBytes(&profile_ptr, sizeof(&profile));
pickle.WriteString(extension_id);
- pickle.WriteInt(42);
+ pickle.WriteUInt64(42);
ui::OSExchangeData data;
data.SetPickledData(BrowserActionDragData::GetBrowserActionCustomFormat(),
« no previous file with comments | « chrome/browser/ui/views/extensions/browser_action_drag_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698