Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index 5f443eefa531a48cecaaa34e07acde27de178392..949fa67f10b085196754b348c328098913e9f6b4 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -40,7 +40,6 @@ |
#include "gpu/command_buffer/client/context_support.h" |
#include "gpu/command_buffer/client/gles2_interface.h" |
#include "gpu/command_buffer/common/gpu_memory_allocation.h" |
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
#include "third_party/khronos/GLES2/gl2.h" |
#include "third_party/khronos/GLES2/gl2ext.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -55,7 +54,6 @@ |
#include "ui/gfx/quad_f.h" |
#include "ui/gfx/rect_conversions.h" |
-using blink::WebGraphicsContext3D; |
using gpu::gles2::GLES2Interface; |
namespace cc { |
@@ -166,7 +164,6 @@ GLRenderer::GLRenderer(RendererClient* client, |
: DirectRenderer(client, settings, output_surface, resource_provider), |
offscreen_framebuffer_id_(0), |
shared_geometry_quad_(gfx::RectF(-0.5f, -0.5f, 1.0f, 1.0f)), |
- context_(output_surface->context_provider()->Context3d()), |
gl_(output_surface->context_provider()->ContextGL()), |
context_support_(output_surface->context_provider()->ContextSupport()), |
texture_mailbox_deleter_(texture_mailbox_deleter), |
@@ -226,8 +223,6 @@ const RendererCapabilities& GLRenderer::Capabilities() const { |
return capabilities_; |
} |
-WebGraphicsContext3D* GLRenderer::Context() { return context_; } |
- |
void GLRenderer::DebugGLCall(GLES2Interface* gl, |
const char* command, |
const char* file, |