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

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

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ozone demo Created 5 years, 7 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_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_browser_compositor_output_surface.cc
index 273f40bf91e6d2a2e93b80bf5cb5041280542552..943a27ac962a60cbbdfc5af5c1e9e417d6e5314a 100644
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc
@@ -105,7 +105,8 @@ void GpuBrowserCompositorOutputSurface::SwapBuffers(
}
void GpuBrowserCompositorOutputSurface::OnSwapBuffersCompleted(
- const std::vector<ui::LatencyInfo>& latency_info) {
+ const std::vector<ui::LatencyInfo>& latency_info,
+ gfx::SwapResult result) {
#if defined(OS_MACOSX)
// On Mac, delay acknowledging the swap to the output surface client until
// it has been drawn, see OnSurfaceDisplayed();

Powered by Google App Engine
This is Rietveld 408576698