summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test.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/pixel_test.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/pixel_test.cc')
-rw-r--r--cc/test/pixel_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 414a325..78cdd69 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -104,7 +104,7 @@ void PixelTest::ReadbackResult(base::Closure quit_run_loop,
bool PixelTest::PixelsMatchReference(const base::FilePath& ref_file,
const PixelComparator& comparator) {
base::FilePath test_data_dir;
- if (!PathService::Get(cc::DIR_TEST_DATA, &test_data_dir))
+ if (!PathService::Get(CCPaths::DIR_TEST_DATA, &test_data_dir))
return false;
// If this is false, we didn't set up a readback on a render pass.