summaryrefslogtreecommitdiffstats
path: root/base/pickle.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-01 20:26:42 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-01 20:26:42 +0000
commit390c4bf52cc30467227f2ad50bff4d12910da27c (patch)
tree88d75b34b938e1c3c914763dd1ffa7fd6a3fb0b2 /base/pickle.cc
parentcba00ba44a55f250462940be5b0fd56c0282c5a5 (diff)
downloadchromium_src-390c4bf52cc30467227f2ad50bff4d12910da27c.zip
chromium_src-390c4bf52cc30467227f2ad50bff4d12910da27c.tar.gz
chromium_src-390c4bf52cc30467227f2ad50bff4d12910da27c.tar.bz2
Moved bug to external tracker.
TBR=nsylvain Review URL: http://codereview.chromium.org/118085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pickle.cc')
-rw-r--r--base/pickle.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/pickle.cc b/base/pickle.cc
index 1aeb1f4..5e249c7 100644
--- a/base/pickle.cc
+++ b/base/pickle.cc
@@ -96,8 +96,8 @@ bool Pickle::ReadInt(void** iter, int* result) const {
if (!IteratorHasRoomFor(*iter, sizeof(*result)))
return false;
- // TODO(jar) bug 1129285: Pickle should be cleaned up, and not dependent on
- // alignment.
+ // TODO(jar): http://crbug.com/13108 Pickle should be cleaned up, and not
+ // dependent on alignment.
// Next line is otherwise the same as: memcpy(result, *iter, sizeof(*result));
*result = *reinterpret_cast<int*>(*iter);
@@ -113,8 +113,8 @@ bool Pickle::ReadLong(void** iter, long* result) const {
if (!IteratorHasRoomFor(*iter, sizeof(*result)))
return false;
- // TODO(jar) bug 1129285: Pickle should be cleaned up, and not dependent on
- // alignment.
+ // TODO(jar): http://crbug.com/13108 Pickle should be cleaned up, and not
+ // dependent on alignment.
memcpy(result, *iter, sizeof(*result));
UpdateIter(iter, sizeof(*result));
@@ -135,8 +135,8 @@ bool Pickle::ReadSize(void** iter, size_t* result) const {
if (!IteratorHasRoomFor(*iter, sizeof(*result)))
return false;
- // TODO(jar) bug 1129285: Pickle should be cleaned up, and not dependent on
- // alignment.
+ // TODO(jar): http://crbug.com/13108 Pickle should be cleaned up, and not
+ // dependent on alignment.
// Next line is otherwise the same as: memcpy(result, *iter, sizeof(*result));
*result = *reinterpret_cast<size_t*>(*iter);