Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index 14205e8cce3424819f293acff405c4bb5a2fe4be..020905da93bea8bfa1388f73fc5d2c5461ba821a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -46,7 +46,6 @@ |
#include "content/browser/gpu/compositor_util.h" |
#include "content/browser/gpu/gpu_data_manager_impl.h" |
#include "content/browser/gpu/gpu_process_host_ui_shim.h" |
-#include "content/browser/gpu/gpu_surface_tracker.h" |
#include "content/browser/media/media_web_contents_observer.h" |
#include "content/browser/renderer_host/compositor_impl_android.h" |
#include "content/browser/renderer_host/dip_util.h" |
@@ -1530,17 +1529,6 @@ gfx::Rect RenderWidgetHostViewAndroid::GetBoundsInRootWindow() { |
return GetViewBounds(); |
} |
-gfx::GLSurfaceHandle RenderWidgetHostViewAndroid::GetCompositingSurface() { |
- gfx::GLSurfaceHandle handle = |
- gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::NULL_TRANSPORT); |
- // Null check for when we're running inside content_unittests. |
- if (using_browser_compositor_ && BrowserGpuChannelHostFactory::instance()) { |
- handle.parent_client_id = |
- BrowserGpuChannelHostFactory::instance()->GetGpuChannelId(); |
- } |
- return handle; |
-} |
- |
void RenderWidgetHostViewAndroid::ProcessAckedTouchEvent( |
const TouchEventWithLatencyInfo& touch, InputEventAckState ack_result) { |
const bool event_consumed = ack_result == INPUT_EVENT_ACK_STATE_CONSUMED; |