commit | aab98a5a0e9dc69bfea24ad796807e67abe53cea | [log] [tgz] |
---|---|---|
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 02 03:22:35 2009 |
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 02 03:22:35 2009 |
tree | 14987b854a05368ffd9cb6b03a4adb57577db366 | |
parent | 647eb03cbf4fa882d17abc4ee24abc3478f4dc52 [diff] |
Ok, here is a different approach at this change. Instead of storing pointers into a vector, store offsets. That way, if the vector resizes, we should still be OK. Also, add a DCHECK that we only enter this method once, which is my current assumption. Review URL: http://codereview.chromium.org/457028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33541 0039d316-1c4b-4281-b951-d872f2087c98