Index: cc/output/delegating_renderer.cc |
diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc |
index c76f250754a8036a8a379bfdccef66af19e2eac0..8e32dd6368298fee6d0fec356b4a645e5fdaa614 100644 |
--- a/cc/output/delegating_renderer.cc |
+++ b/cc/output/delegating_renderer.cc |
@@ -23,11 +23,10 @@ |
#include "cc/quads/yuv_video_draw_quad.h" |
#include "cc/resources/resource_provider.h" |
#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/gl2ext.h" |
-using blink::WebGraphicsContext3D; |
namespace cc { |
@@ -155,7 +154,7 @@ void DelegatingRenderer::SetVisible(bool visible) { |
TRACE_EVENT0("cc", "DelegatingRenderer::SetVisible dropping resources"); |
resource_provider_->ReleaseCachedData(); |
if (context_provider) |
- context_provider->Context3d()->flush(); |
+ context_provider->ContextGL()->Flush(); |
} |
// We loop visibility to the GPU process, since that's what manages memory. |
// That will allow it to feed us with memory allocations that we can act |