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

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

Issue 1091323002: Send a message through the ozone channel to recreate buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
index ff77fa946649f4a9ae8da3bd4e73055d31c7c31c..ae46cfaa083f72a54da54e618e7a0b277acf6732 100644
--- a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
@@ -94,4 +94,8 @@ void GpuSurfacelessBrowserCompositorOutputSurface::Reshape(
output_surface_->Reshape(SurfaceSize(), scale_factor);
}
+void GpuSurfacelessBrowserCompositorOutputSurface::RecreateBuffers() {
+ output_surface_->RecreateBuffers();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698