summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_json_parser_unittest.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 23:05:01 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 23:05:01 +0000
commite51444acccf0aeeeed78d0a9795016e26013e1a1 (patch)
tree358fba3fd6a996a2de9814bd5fd78ab204b5cd7a /cc/test/layer_tree_json_parser_unittest.cc
parenta269ade545f74e075b8fff7ca5b7f2edf32369d0 (diff)
downloadchromium_src-e51444acccf0aeeeed78d0a9795016e26013e1a1.zip
chromium_src-e51444acccf0aeeeed78d0a9795016e26013e1a1.tar.gz
chromium_src-e51444acccf0aeeeed78d0a9795016e26013e1a1.tar.bz2
cc: Add PRESUBMIT rule to ban using cc:: inside of namespace cc {...}
This also makes cc/ PRESUBMIT clean for the new check. The most invasive changes were: 1. Moving the cc/test/paths.h enum into a CCPaths class (named with CC prefix to clarify this path is for CC since the enum is extending an enum from base/. 2. Merge ResourcePool::Resource up into ScopedResource which was the same thing basically. R=enne BUG= Review URL: https://codereview.chromium.org/109263003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_json_parser_unittest.cc')
-rw-r--r--cc/test/layer_tree_json_parser_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
index 4261a71..3fd6725 100644
--- a/cc/test/layer_tree_json_parser_unittest.cc
+++ b/cc/test/layer_tree_json_parser_unittest.cc
@@ -99,7 +99,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, EventHandlerRegions) {
root_impl->SetBounds(gfx::Size(100, 100));
touch_layer->SetBounds(gfx::Size(50, 50));
- cc::Region touch_region;
+ Region touch_region;
touch_region.Union(gfx::Rect(10, 10, 20, 30));
touch_region.Union(gfx::Rect(40, 10, 20, 20));
touch_layer->SetTouchEventHandlerRegion(touch_region);