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

Unified Diff: content/common/gpu/image_transport_surface_win.cc

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. Created 8 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/common/gpu/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index bc4953a1bd4f9218392054edf4d91881e584b1c0..930c8883b96d0028340604b6d2bf65d8de912dfb 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -50,7 +50,7 @@ class PbufferImageTransportSurface
protected:
// ImageTransportSurface implementation
- virtual void OnBufferPresented(uint32 sync_point) OVERRIDE;
+ virtual void OnBufferPresented(bool presented, uint32 sync_point) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
@@ -205,7 +205,8 @@ void PbufferImageTransportSurface::SendBuffersSwapped() {
is_swap_buffers_pending_ = true;
}
-void PbufferImageTransportSurface::OnBufferPresented(uint32 sync_point) {
+void PbufferImageTransportSurface::OnBufferPresented(bool presented,
+ uint32 sync_point) {
is_swap_buffers_pending_ = false;
if (did_unschedule_) {
did_unschedule_ = false;
« no previous file with comments | « content/common/gpu/image_transport_surface_mac.cc ('k') | content/common/gpu/texture_image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698