From 3d6b512787ee94398b001e6fbf3e748bfac79190 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Wed, 14 Aug 2013 22:25:34 +0000 Subject: aura: Allow in process ContextProvider to hold onscreen contexts. This will allow us to use them in an OutputSurface. For the common offscreen context case, we want to still share code so add a CreateOffscreen() method to the context provider so we don't have to replicate the WGC3D::Attributes decisions around the codebase. R=piman@chromium.org BUG=258625 Review URL: https://codereview.chromium.org/23072008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217677 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 266af36..c742355 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -164,7 +164,7 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend) { use_skia_gpu_backend).PassAs(); scoped_refptr offscreen_contexts = - webkit::gpu::ContextProviderInProcess::Create(); + webkit::gpu::ContextProviderInProcess::CreateOffscreen(); ASSERT_TRUE(offscreen_contexts->BindToCurrentThread()); resource_provider_->set_offscreen_context_provider(offscreen_contexts); } -- cgit v1.1