summaryrefslogtreecommitdiffstats
path: root/mojo/examples
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 00:11:11 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 00:11:11 +0000
commite7e7ebdcb1147a739a10929ed8f73be6044946ba (patch)
treeb96b0fe1963b97ea7fb27fd91225375390e9db85 /mojo/examples
parent7ad4583b7894d77582bc4fda17f7d80dbd6eb84c (diff)
downloadchromium_src-e7e7ebdcb1147a739a10929ed8f73be6044946ba.zip
chromium_src-e7e7ebdcb1147a739a10929ed8f73be6044946ba.tar.gz
chromium_src-e7e7ebdcb1147a739a10929ed8f73be6044946ba.tar.bz2
Remove WebGraphicsContext3D getter from cc::ContextProvider
The compositor uses GLES2Interface to talk to the OpenGL context now, so the WebGraphicsContext3D getter isn't applicable at this layer. BUG=181120 Review URL: https://codereview.chromium.org/132163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples')
-rw-r--r--mojo/examples/aura_demo/demo_context_factory.cc1
-rw-r--r--mojo/examples/compositor_app/compositor_host.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/mojo/examples/aura_demo/demo_context_factory.cc b/mojo/examples/aura_demo/demo_context_factory.cc
index 74956aa..64214ca 100644
--- a/mojo/examples/aura_demo/demo_context_factory.cc
+++ b/mojo/examples/aura_demo/demo_context_factory.cc
@@ -27,7 +27,6 @@ class MojoContextProvider : public cc::ContextProvider {
// cc::ContextProvider implementation.
virtual bool BindToCurrentThread() OVERRIDE { return true; }
- virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE { return NULL; }
virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE {
return gles2_client_impl_->Interface();
}
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc
index ff6854d..df41fb1 100644
--- a/mojo/examples/compositor_app/compositor_host.cc
+++ b/mojo/examples/compositor_app/compositor_host.cc
@@ -22,7 +22,6 @@ class MojoContextProvider : public cc::ContextProvider {
// cc::ContextProvider implementation.
virtual bool BindToCurrentThread() OVERRIDE { return true; }
- virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE { return NULL; }
virtual gpu::gles2::GLES2Interface* ContextGL() OVERRIDE {
return gles2_client_impl_->Interface();
}