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

Unified Diff: gpu/ipc/service/pass_through_image_transport_surface.cc

Issue 1962493002: Make Mac swap code like other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 4 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
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/pass_through_image_transport_surface.cc
diff --git a/gpu/ipc/service/pass_through_image_transport_surface.cc b/gpu/ipc/service/pass_through_image_transport_surface.cc
index 4ff2739c850dee17791f93eff4bf3705c8a287d7..0c2643f67788a193be3bbc9a261e120301f1f0fc 100644
--- a/gpu/ipc/service/pass_through_image_transport_surface.cc
+++ b/gpu/ipc/service/pass_through_image_transport_surface.cc
@@ -8,6 +8,7 @@
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "build/build_config.h"
+#include "gpu/ipc/common/gpu_messages.h"
#include "gpu/ipc/service/gpu_command_buffer_stub.h"
#include "ui/gfx/vsync_provider.h"
#include "ui/gl/gl_context.h"
@@ -167,7 +168,10 @@ void PassThroughImageTransportSurface::FinishSwapBuffers(
swap_ack_time, 1);
}
- stub_->SendSwapBuffersCompleted(*latency_info, result);
+ GpuCommandBufferMsg_SwapBuffersCompleted_Params params;
+ params.latency_info = *latency_info;
+ params.result = result;
+ stub_->SendSwapBuffersCompleted(params);
}
void PassThroughImageTransportSurface::FinishSwapBuffersAsync(
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698