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

Unified Diff: content/browser/aura/software_browser_compositor_output_surface.h

Issue 23694031: Fix race conditions in window snapshot code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made software compositing path call CompositorFrameDrawn asynchronously Created 7 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
Index: content/browser/aura/software_browser_compositor_output_surface.h
diff --git a/content/browser/aura/software_browser_compositor_output_surface.h b/content/browser/aura/software_browser_compositor_output_surface.h
index ac499da5eb2c75fdc82ef8e6b618e885ead75aff..8fd6655e747d4faa048d5455640266d13dd40c83 100644
--- a/content/browser/aura/software_browser_compositor_output_surface.h
+++ b/content/browser/aura/software_browser_compositor_output_surface.h
@@ -25,6 +25,8 @@ class SoftwareBrowserCompositorOutputSurface : public cc::OutputSurface {
explicit SoftwareBrowserCompositorOutputSurface(
scoped_ptr<cc::SoftwareOutputDevice> software_device);
+ static void PostCompositorFrameDrawn(const ui::LatencyInfo& latency_info);
+
virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698