Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 28728c31fe72d07490f03f064b288fc272555696..09ceeccc8dafe44196f2259f2b0813d05b25f862 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -351,12 +351,6 @@ gfx::GLSurfaceHandle RenderWidgetHostImpl::GetCompositingSurface() {
return gfx::GLSurfaceHandle();
}
-void RenderWidgetHostImpl::CompositingSurfaceUpdated() {
- GpuSurfaceTracker::Get()->SetSurfaceHandle(
- surface_id_, GetCompositingSurface());
- process_->SurfaceUpdated(surface_id_);
-}
-
void RenderWidgetHostImpl::ResetSizeAndRepaintPendingFlags() {
resize_ack_pending_ = false;
if (repaint_ack_pending_) {

Powered by Google App Engine
This is Rietveld 408576698