summaryrefslogtreecommitdiffstats
path: root/cc/resources
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 19:48:56 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 19:48:56 +0000
commit3b2eb8890490df87ed957ba5076bcb5a39832c3c (patch)
tree69f90778f6a6a5b14da80bbaf886bfec97783b88 /cc/resources
parent1502e60861419bd0499f9b52a11b90fc55dc1abc (diff)
downloadchromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.zip
chromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.tar.gz
chromium_src-3b2eb8890490df87ed957ba5076bcb5a39832c3c.tar.bz2
Remove offscreen compositor contexts.
After https://codereview.chromium.org/250083002/ cc no longer uses an offscreen context for ganesh filters. Instead using the main onscreen context. So, delete the code to create offscreen contexts for the compositor. R=abarth@chromium.org, boliu@chromium.org, enne@chromium.org, piman@chromium.org, enne, piman BUG=366132,366130 Review URL: https://codereview.chromium.org/251343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources')
-rw-r--r--cc/resources/resource_provider_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/resource_provider_unittest.cc b/cc/resources/resource_provider_unittest.cc
index 509fc50..bffd07e 100644
--- a/cc/resources/resource_provider_unittest.cc
+++ b/cc/resources/resource_provider_unittest.cc
@@ -3168,7 +3168,7 @@ void InitializeGLAndCheck(ContextSharedData* shared_data,
scoped_refptr<TestContextProvider> context_provider =
TestContextProvider::Create(
context_owned.PassAs<TestWebGraphicsContext3D>());
- output_surface->InitializeAndSetContext3d(context_provider, NULL);
+ output_surface->InitializeAndSetContext3d(context_provider);
resource_provider->InitializeGL();
CheckCreateResource(ResourceProvider::GLTexture, resource_provider, context);