diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 01:12:27 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 01:12:27 +0000 |
commit | 787465c591d96bb78dfc632dfef12fe5911255a5 (patch) | |
tree | 2cd1cd933405c2f5694b4f8432da3b6a6deaf2be /cc/layer_tiling_data.cc | |
parent | 0f24e53eb19d7662374fa84e2df1ebda4a2ae64e (diff) | |
download | chromium_src-787465c591d96bb78dfc632dfef12fe5911255a5.zip chromium_src-787465c591d96bb78dfc632dfef12fe5911255a5.tar.gz chromium_src-787465c591d96bb78dfc632dfef12fe5911255a5.tar.bz2 |
cc: Convert more usages from Vector to std::vector.
This patch converted the entries found by the following command line:
$ g grep -n "Vector<" cc/ | grep -v ScopedPtrVector | grep -v WebVector | grep -v "Vector<WebCore::IntRect"
BUG=154451
TEST=cc_unittests
R=enne@chromium.org,jamesr@chromium.org
Review URL: https://codereview.chromium.org/11343003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tiling_data.cc')
-rw-r--r-- | cc/layer_tiling_data.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layer_tiling_data.cc b/cc/layer_tiling_data.cc index c85a13b..a38d8eb 100644 --- a/cc/layer_tiling_data.cc +++ b/cc/layer_tiling_data.cc @@ -134,10 +134,10 @@ void LayerTilingData::setBounds(const IntSize& size) // Any tiles completely outside our new bounds are invalid and should be dropped. int left, top, right, bottom; contentRectToTileIndices(IntRect(IntPoint(), size), left, top, right, bottom); - Vector<TileMapKey> invalidTileKeys; + std::vector<TileMapKey> invalidTileKeys; for (TileMap::const_iterator it = m_tiles.begin(); it != m_tiles.end(); ++it) { if (it->first.first > right || it->first.second > bottom) - invalidTileKeys.append(it->first); + invalidTileKeys.push_back(it->first); } for (size_t i = 0; i < invalidTileKeys.size(); ++i) m_tiles.erase(invalidTileKeys[i]); |