From e51444acccf0aeeeed78d0a9795016e26013e1a1 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Tue, 10 Dec 2013 23:05:01 +0000 Subject: 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 --- cc/test/pixel_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/test/pixel_test.cc') 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. -- cgit v1.1