Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
const std::vector<T*> returns a const reference to a T* for operator[]. const ScopedVector<T> instead returns a const T*, which means the two have slightly differing semantics. Fix ScopedVector to behave like std::vector instead - the reference to the pointer is const, but the pointer is not const. TBR=willchan@chromium.org R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/18131002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209537 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information