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

Unified Diff: trunk/src/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc

Issue 163433008: Revert 251207 "Use gpu::Mailbox instead of std:string in IPCs" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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: trunk/src/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
===================================================================
--- trunk/src/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (revision 251280)
+++ trunk/src/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (working copy)
@@ -949,7 +949,7 @@
GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params params;
params.surface_id = widget_host_->surface_id();
params.route_id = widget_host_->GetRoutingID();
- memset(params.mailbox.name, '1', sizeof(params.mailbox.name));
+ params.mailbox_name = std::string(64, '1');
params.size = view_size;
params.scale_factor = 1.f;
@@ -968,7 +968,7 @@
GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params post_params;
post_params.surface_id = widget_host_->surface_id();
post_params.route_id = widget_host_->GetRoutingID();
- memset(post_params.mailbox.name, '1', sizeof(post_params.mailbox.name));
+ post_params.mailbox_name = std::string(64, '1');
post_params.surface_size = gfx::Size(200, 200);
post_params.surface_scale_factor = 2.f;
post_params.x = 40;
« no previous file with comments | « trunk/src/content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | trunk/src/content/common/frame_param_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698