0
Commit Graph

32 Commits

Author SHA1 Message Date
Zhenyao Mo
16b6948e5a [cc-slimming] No need to expand live_tiles_rect to tile bounds.
TEST=cc_unittests

Bug: 338977414
Change-Id: I66a8dea0e333d06814dac5a9d9d5c3cf04d3d21f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5789072
Reviewed-by: Victor Miura <vmiura@chromium.org>
Auto-Submit: Zhenyao Mo <zmo@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1341992}
2024-08-14 22:25:44 +00:00
Xianzhu Wang
a42052fc5e Allow non-origin tiling rect in cc::TilingData
I wrote the non-testing part of this CL before I found this CL is
basically a partial reland of
https://codereview.chromium.org/235753002 from which I borrowed some
ideas about testing.

This will allow us to create tiling based on the drawable bounds of
a layer.

Bug: 1517714
Change-Id: I6c4ecd1f9f03adda23311325b8bb7d3aff835110
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5214866
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1251156}
2024-01-24 00:56:59 +00:00
Avi Drissman
3f7a9d89de Update copyright headers in cc/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34.

No-Try: true
Bug: 1098010
Change-Id: I78fb24acd54811d52b7e9a44e6333e2fc4e3757b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3884224
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1044758}
2022-09-08 20:55:42 +00:00
Xianzhu Wang
549ddc431f Avoid multi-parameter version of gfx::Rect[F]::Inset(), automatic part
The multi-parameter version of gfx::Rect[F]::Inset() accepts
parameters in the order of left, top, right, bottom which is
different from the order of Insets::TLBR() which is top, left,
bottom, right. To avoid mistakes, we should avoid and remove
the multi-parameter version.

This CL is mostly automatically generated using the following
commands:

files=`grep -r -l --include="*.cc" --include="*.h" --include="*.mm" --exclude-dir=out '\.Inset('`
# Replace Inset(x, x) with Inset(x)
sed -i -r 's/(\.|->)Inset\((([^(),]*(\([^()]*\))?)*), \2\)/\1Inset(\2)/g' $files
# Replace Inset(x, x, x, x) with Inset(x)
sed -i -r 's/(\.|->)Inset\((([^(),]*(\([^()]*\))?)*), \2, \2, \2\)/\1Inset(\2)/g' $files
# Replace Inset(x, y) with Inset(gfx::Insets::VH(y, x))
sed -i -r 's/(\.|->)Inset\((([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*)\)/\1Inset(gfx::Insets::VH(\5, \2))/g' $files
# Replace Inset(x, y, x, y) with Inset(gfx::Insets::VH(y, x))
sed -i -r 's/(\.|->)Inset\((([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*), \2, \5\)/\1Inset(gfx::Insets::VH(\5, \2))/g' $files
# Replace Inset(l, t, r, b) with Inset(TEMPINSETS(t, l, r, b))
# This step is because sed doesn't support more than 9 capture groups
sed -i -r 's/(\.|->)Inset\((([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*, ([^(),]*(\([^()]*\))?)*)\)/\1Inset(TEMPINSETS(\5, \2, \8))/g' $files
# Replace TEMPINSETS(t, l, r, b) with gfx::Insets::TLBR(t, l, b, r)
sed -i -r 's/\(TEMPINSETS\((([^(),]*(\([^()]*\))?)*, ([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*), (([^(),]*(\([^()]*\))?)*)\)\)/(gfx::Insets::TLBR(\1, \9, \6))/g' $files

Then manually replace gfx::Insets:: with gfx::InsetsF:: where
gfx::InsetsF is required. There are about 20 such places.

Complex cases like multi-line statements and parameters with nested
parentheses will be modified manually in follow-ups.

Bug: 1302500
Change-Id: I1ed5d87b76968beb716e8bb988a70b421fc4d5da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3559674
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Owners-Override: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/main@{#988541}
2022-04-04 17:05:55 +00:00
Xianzhu Wang
a6786d4194 Consolidate EXPECT_* for ui/gfx/geometry types
Previously the following files contain duplicated definition of
EXPECT_* macros for ui/gfx/geometry types:
  gfx/ui/test/gfx_util.h
  gfx/ui/geometry/test/size_test_util.h
  gfx/ui/geometry/test/rect_test_util.h
  gfx/ui/geometry/test/transform_test_util.h
  cc/test/geometry_test-utils.h

Now consolidate them into gfx/ui/geometry/test/geometry_util.h.

Bug: 738465
Change-Id: Ie2b95f352891b1e034fcb3b466b3d9a3471111d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3208493
Auto-Submit: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Owners-Override: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929848}
2021-10-08 19:42:55 +00:00
prashant.n
051927915d cc: Detach spiral iterator implementation to separate file.
Currently SpiralDifferenceIterator implements logic based on directions
around the center rect. This logic does not take care of aspect ratios
of tile size. To consider the aspect ratios during iteration new logic
has to be implanted. Until the new logic gets tested thoroughly we
need the current logic. This patch detaches the current spiral iterator
to separate classes (SpiralIterator and ReverseSpiralIterator) and
moves them to their own files making SpiralDifferenceIterator thinner.
Now new logic can be added to SpiralDifferenceIterator based on some
runtime switch.

This patch also separates out unit tests related to SpiralIterator from
tiling_data_unittest.cc to its own file.

BUG=613695
TESTS=TilingDataSpiralIteratorTest.*
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel

Review-Url: https://codereview.chromium.org/2352393002
Cr-Commit-Position: refs/heads/master@{#420823}
2016-09-24 03:40:36 +00:00
avi
02a4d17f5a Switch to standard integer types in cc/.
BUG=138542
TBR=danakj@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1539203002

Cr-Commit-Position: refs/heads/master@{#366333}
2015-12-21 06:15:26 +00:00
hush
6b61421f5b Use EXPECT_EQ when possible.
EXPECT_RECT_EQ, EXPECT_SIZE_EQ, EXPECT_POINT_EQ, EXPECT_POINT3F_EQ
could be replaced by EXPECT_EQ.

Follow up of https://codereview.chromium.org/751453005/

Review URL: https://codereview.chromium.org/774763004

Cr-Commit-Position: refs/heads/master@{#306913}
2014-12-04 22:38:02 +00:00
vmpstr
71f7f0a651 cc: Add ReverseSpiralDifferenceIterator.
This patch adds an iterator similar to spiral difference iterator,
except that it iterates the indecies in reverse order. This is needed
for a fast eviction iterator.

R=danakj, enne

Review URL: https://codereview.chromium.org/645173004

Cr-Commit-Position: refs/heads/master@{#300221}
2014-10-18 22:05:16 +00:00
danakj
6496cba4eb cc: Replace > > with >>
R=enne

Review URL: https://codereview.chromium.org/662473003

Cr-Commit-Position: refs/heads/master@{#299809}
2014-10-16 01:31:54 +00:00
Dana Jansens
e3b7da9e87 cc: Remove and Create the correct tiles when resizing live tiles rect
When removing tiles, we need to remove everything outside the live
tiles rect even if it has borders inside the live tiles rect. The
DifferenceIterator includes borders when deciding if a tile is in the
included rect, so tiles that are only in the included rect with a border
were not being removed from the tiling. This lead to us having tiles
outside the rect, and to creating a tile that already existed.

When adding tiles, the same problem existed. The DifferenceIterator
includes borders when deciding which tiles are to be excluded, so a
tile that was inside the old live tiles rect with borders only would
not have existed, but it would be excluded by the DifferenceIterator.
This prevented us from making tiles that were inside the live tiles
rect.

Depends on: https://codereview.chromium.org/513903002/

R=enne@chromium.org, vmpstr@chromium.org, enne, vmpstr
BUG=405427

Review URL: https://codereview.chromium.org/505913003

Cr-Commit-Position: refs/heads/master@{#292417}
2014-08-28 18:32:15 +00:00
danakj@chromium.org
a108f5db4f cc: Give TilingData back a Size instead of a Rect.
This is a semi-revert of https://codereview.chromium.org/235753002/.

Since it seems that we are not using the ability of TilingData to
have a non-zero origin, having a Rect is not needed and less clear
what is going on.

R=ernstm@chromium.org
BUG=362668,386998

Review URL: https://codereview.chromium.org/389973004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283374 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-16 06:10:27 +00:00
danakj@chromium.org
60f06b1af0 cc: Use ExpandRectIgnoringBordersToTileBoundsWithBordersEmpty.
When expanding the live tiles rect, we want to include border pixels
for all tiles that intersect the live tiles rect. It used to do this
by also including any tiles whose border pixels intersect the live
tiles rect, but that's excessive.

This adds ExpandRectIgnoringBordersToTileBoundsWithBordersEmpty and
uses it to expand the live tiles rect, the unit test
PictureLayerTilingIteratorTest.ResizeOverBorderPixelsDeletesTiles
covers this usage of the method.

The ExpandRectToTileBoundsWithBorders is no longer used, so remove it.

R=enne
BUG=386998

Review URL: https://codereview.chromium.org/385123006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282896 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-14 03:07:28 +00:00
danakj@chromium.org
8f322ba0e0 cc: Expand invalidation to full tile when recording is missing for the tile.
Currently we do a walk over all tiles in the pending tree's pile, but
there can be 1 million x 1 million tiles on some pages, which makes this
method take multiple _seconds_ to complete.

These loops were added in r184525 which gave the tradeoffs that led to
them, which are that we want to only use a single pile for all the tiles
on this layer, but we don't want raster tiles on the active layer (when
this activates) that can't be rastered by the pile they are attached to.

Instead of walking every pile-tile, to find the tiles that are not
present in the current recording and invalidate them, we expand
invalidations outside the interest rect to cover the full recording tiles,
and we expand invalidation inside the interest rect to include any raster
tiles that don't have a recording (such as in the offscreen animating gif
case). We give this expanded invalidation to the pending layer, causing
it to drop rastered tiles from the active tree that intersect with an
unrecorded area.

R=enne
BUG=371839

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277964

Review URL: https://codereview.chromium.org/294163009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278196 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-18 23:48:18 +00:00
perkj@chromium.org
651aa66f20 Revert 277964 "cc: In SyncFromActiveLayer, drop all tiles not in..."
This cl seems to cause heap use after free on the Asan bots.
LargePage
FindLongString

http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29/builds/3837/steps/browser_tests/logs/LargePage

http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%283%29/builds/4211/steps/browser_tests/logs/FindLongString
> cc: In SyncFromActiveLayer, drop all tiles not in the recorded_viewport.
> 
> Currently we do a walk over all tiles in the pending tree's pile, but
> there can be 1 million x 1 million tiles on some pages, which makes this
> method take multiple _seconds_ to complete.
> 
> These loops were added in r184525 which gave the tradeoffs that led to
> them, which are that we want to only use a single pile for all the tiles
> on this layer, but we don't want raster tiles on the active layer (when
> this activates) that can't be rastered by the pile they are attached to.
> 
> Instead of walking every pile-tile, to find the tiles that are not
> present in the current recording and invalidate them, we expand
> invalidations outside the interest rect to cover the full recording tiles,
> and we expand invalidation inside the interest rect to include any raster
> tiles that don't have a recording (such as in the offscreen animating gif
> case). We give this expanded invalidation to the pending layer, causing
> it to drop rastered tiles from the active tree that intersect with an
> unrecorded area.
> 
> R=enne
> BUG=371839
> 
> Review URL: https://codereview.chromium.org/294163009

TBR=danakj@chromium.org

Review URL: https://codereview.chromium.org/347493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277980 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-18 08:20:30 +00:00
danakj@chromium.org
86ad492770 cc: In SyncFromActiveLayer, drop all tiles not in the recorded_viewport.
Currently we do a walk over all tiles in the pending tree's pile, but
there can be 1 million x 1 million tiles on some pages, which makes this
method take multiple _seconds_ to complete.

These loops were added in r184525 which gave the tradeoffs that led to
them, which are that we want to only use a single pile for all the tiles
on this layer, but we don't want raster tiles on the active layer (when
this activates) that can't be rastered by the pile they are attached to.

Instead of walking every pile-tile, to find the tiles that are not
present in the current recording and invalidate them, we expand
invalidations outside the interest rect to cover the full recording tiles,
and we expand invalidation inside the interest rect to include any raster
tiles that don't have a recording (such as in the offscreen animating gif
case). We give this expanded invalidation to the pending layer, causing
it to drop rastered tiles from the active tree that intersect with an
unrecorded area.

R=enne
BUG=371839

Review URL: https://codereview.chromium.org/294163009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277964 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-18 07:12:36 +00:00
enne@chromium.org
b7d57217ed cc: Fix missing compositor invalidations during resize
In practice, cc is responsible for implicit invalidations on layers,
such as the original layer being entirely invalid or new areas being
exposed during resize.

In this case, these invalidations were being clipped to the live tiles
rect, which itself is clipped to the bounds of the tiling.  Therefore,
when the bounds of a layer grew, the new invalidation intersected with
the old bounds was empty.

The intersection of invalidations with the live tiles rect is an
optimization, to prevent needless work trying to look up invalidations
on parts of the layer that don't matter.

To fix the bug, rather than intersecting with the live tiles rect,
expand the live tiles rect to tile boundaries.  This lets implicit
invalidation due to resize within a tile not skip rerasterizing
that tile.

BUG=357120

Review URL: https://codereview.chromium.org/240593004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265313 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-22 18:53:18 +00:00
ernstm@chromium.org
4c159895cd cc: Give TilingData a Rect instead of a Size
This patch changes the assumption that the tiling covers the entire layer. It
can now cover an arbitray sub-rect, called the tiling_rect. This will be used
to implement viewport tiling in a separate patch.

R=enne@chromium.org
BUG=362668

Review URL: https://codereview.chromium.org/235753002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264083 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-16 02:54:48 +00:00
enne@chromium.org
16934b7aa1 cc: Add a tiling iterator that doesn't include borders
This iterator is needed to reland
https://codereview.chromium.org/196343005/ correctly, as whether or not
a set of picture tiles can raster a particular rect needs to ignore
borders.

BUG=353346

Review URL: https://codereview.chromium.org/202753002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257688 0039d316-1c4b-4281-b951-d872f2087c98
2014-03-18 17:57:41 +00:00
vmpstr@chromium.org
b7a5f6bc5b cc: Spiral iterator fix for negative center.
When the center is off the tiling, then the unclamped calculations
are incorrect. That is, instead of values being rounded down in
integer divides, they are instead rounded toward zero.

This patch reworks the way the around coordinates are calculated.
Instead of relying on unclamped version of existing functions,
we instead explicitly check whether the src coord is within the
tiling total size.

R=enne

Review URL: https://codereview.chromium.org/188863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255670 0039d316-1c4b-4281-b951-d872f2087c98
2014-03-07 18:39:41 +00:00
vmpstr@chromium.org
6fd3297ea7 cc: Added a spiral difference iterator to tiling data.
This patch adds another iterator to tiling data. This iterator acts
similar to the difference iterator, but it also takes an extra center
rect parameter. The indices are returned in a counter-clockwise spiral
around the center rect. Note that the center rect itself is also
considered to be ignored.

Added tests to verify the behavior. Currently, the iterator is not used
anywhere outside of the unit tests.

R=enne@chromium.org

Review URL: https://codereview.chromium.org/183123004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254622 0039d316-1c4b-4281-b951-d872f2087c98
2014-03-04 01:01:08 +00:00
prashant.n@samsung.com
64348eae94 [] Pass gfx::Size by const ref.
Any struct of size > 4 bytes should be passed by const ref. 
Passing by ref for these structs is faster than passing by value,
especially when invoking function has multiple parameters and some
other scenarios mentioned in the bug.

BUG=159273

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247426

Review URL: https://codereview.chromium.org/145313006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247769 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-29 22:58:26 +00:00
mnissler@chromium.org
2a58e14322 Revert of [] Pass gfx structs by const ref (gfx::Size) (https://codereview.chromium.org/145313006/)
Reason for revert:
Suspected of breaking the Linux ASAN tests ( http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%283%29/builds/22104 )

Original issue's description:
> [] Pass gfx::Size by const ref.
>
> Any struct of size > 4 bytes should be passed by const ref.
> Passing by ref for these structs is faster than passing by value,
> especially when invoking function has multiple parameters and some
> other scenarios mentioned in the bug.
>
> BUG=159273
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247426

TBR=danakj@chromium.org,enne@chromium.org,bulach@chromium.org,piman@chromium.org,prashant.n@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=159273

Review URL: https://codereview.chromium.org/142863008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247437 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-28 11:42:39 +00:00
prashant.n@samsung.com
c93cbb62f6 [] Pass gfx::Size by const ref.
Any struct of size > 4 bytes should be passed by const ref. 
Passing by ref for these structs is faster than passing by value,
especially when invoking function has multiple parameters and some
other scenarios mentioned in the bug.

BUG=159273

Review URL: https://codereview.chromium.org/145313006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247426 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-28 06:37:17 +00:00
danakj@chromium.org
3209161d2f cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
The flag flip will be a follow up once ChromeOS build is sorted out.

Review URL: https://codereview.chromium.org/13206004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191417 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-29 19:17:34 +00:00
rsleevi@chromium.org
155399dd35 Revert 191400 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."
CrOS bots are unhappy

> cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
> 
> And fix compile errors that it causes.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364
> 
> Review URL: https://codereview.chromium.org/13206004

TBR=danakj@chromium.org
Review URL: https://codereview.chromium.org/13334005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191414 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-29 19:07:36 +00:00
danakj@chromium.org
ce638d154c cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
And fix compile errors that it causes.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364

Review URL: https://codereview.chromium.org/13206004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191400 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-29 18:19:08 +00:00
danakj@chromium.org
060448534f Revert 191364 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."
> cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
> 
> And fix compile errors that it causes.
> 
> Review URL: https://codereview.chromium.org/13206004

TBR=danakj@chromium.org
Review URL: https://codereview.chromium.org/13316003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191371 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-29 16:35:04 +00:00
danakj@chromium.org
483bd5e90c cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp
And fix compile errors that it causes.

Review URL: https://codereview.chromium.org/13206004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191364 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-29 16:25:47 +00:00
jamesr@chromium.org
adb08548d4 This fixes all lint issues (except for false positives) in:
cc/base/
cc/debug/
cc/resources/
cc/quads/

BUG=144577

Review URL: https://codereview.chromium.org/13051003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190715 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-26 18:06:10 +00:00
enne@chromium.org
6ed93c7759 cc: Chromify TilingData unittest
NOTRY=true
R=danakj@chromium.org
BUG=none


Review URL: https://chromiumcodereview.appspot.com/12996002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189832 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-22 16:31:10 +00:00
jamesr@chromium.org
681ccff34e Part 1 of cc/ directory shuffles: base
This establishes cc/base/ as discussed in https://groups.google.com/a/chromium.org/d/msg/graphics-dev/wNRsl3BwU_Y/jFXeRQq7e30J.

This patch will likely touch the most locations since it moves cc/switches.h

BUG=190824
TBR=piman@chromium.org, thakis@chromium.org

Review URL: https://codereview.chromium.org/12472028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188681 0039d316-1c4b-4281-b951-d872f2087c98
2013-03-18 06:13:52 +00:00