ScopedVector - fix const semantics.

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


CrOS-Libchrome-Original-Commit: f3a8f42a976f6465db0294974184800eef6e474b
1 file changed
tree: dfb42665622a8cabdd42bd992547bdcb37fdb651
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/