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

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: address comments 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 09a8b7280a5501c098204e692a954672ead73afa..93ea89dc1021f12c549ce4fa8dd345350d31e6f3 100644
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc
@@ -93,7 +93,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