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-08-14 22:25:34 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-14 22:25:34 +0000
commit3d6b512787ee94398b001e6fbf3e748bfac79190 (patch)
treeb83a79a932e7aa207104452f3b4b336bd00585a3 /cc/test/pixel_test.cc
parentc30903d6d1ca12b172b1d1d2008a91620f9861cd (diff)
downloadchromium_src-3d6b512787ee94398b001e6fbf3e748bfac79190.zip
chromium_src-3d6b512787ee94398b001e6fbf3e748bfac79190.tar.gz
chromium_src-3d6b512787ee94398b001e6fbf3e748bfac79190.tar.bz2
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
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 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<DirectRenderer>();
scoped_refptr<webkit::gpu::ContextProviderInProcess> offscreen_contexts =
- webkit::gpu::ContextProviderInProcess::Create();
+ webkit::gpu::ContextProviderInProcess::CreateOffscreen();
ASSERT_TRUE(offscreen_contexts->BindToCurrentThread());
resource_provider_->set_offscreen_context_provider(offscreen_contexts);
}