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

Unified Diff: content/browser/compositor/surface_display_output_surface.cc

Issue 682963002: Fix SurfaceDisplayOutputSurface initialization on context failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/surface_display_output_surface.cc
diff --git a/content/browser/compositor/surface_display_output_surface.cc b/content/browser/compositor/surface_display_output_surface.cc
index 2f06581cd254f6686e2127b31712daf997453ea9..ed6044c838f8dac2ada0e441b89a572518907ca1 100644
--- a/content/browser/compositor/surface_display_output_surface.cc
+++ b/content/browser/compositor/surface_display_output_surface.cc
@@ -69,10 +69,9 @@ bool SurfaceDisplayOutputSurface::BindToClient(
DCHECK(client);
DCHECK(display_client_);
client_ = client;
- display_client_->Initialize();
// Avoid initializing GL context here, as this should be sharing the
// Display's context.
- return true;
+ return display_client_->Initialize();
}
void SurfaceDisplayOutputSurface::ReturnResources(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698