From fe18c779e0fd9ea177bf7d8113cceb709ce170cf Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Sat, 22 Feb 2014 08:08:23 +0000 Subject: cc: Make cc_unittests opt into real GL NullDraw contexts. This breaks the dependency on the TestCompositor for this test suite. Once it's no longer in use by any test suite, we can remove it. Depends on: Depends on: https://codereview.chromium.org/175093004/ R=enne BUG=270918 Review URL: https://codereview.chromium.org/171363008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252770 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/pixel_test.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc/test/pixel_test.cc') diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc index 0a31bb0..77a8f52 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -117,6 +117,8 @@ bool PixelTest::PixelsMatchReference(const base::FilePath& ref_file, } void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend) { + enable_pixel_output_.reset(new gfx::DisableNullDrawGLBindings); + output_surface_.reset( new PixelTestOutputSurface(new TestInProcessContextProvider)); output_surface_->BindToClient(output_surface_client_.get()); -- cgit v1.1