summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 18:24:14 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 18:24:14 +0000
commitc2fe3154d36ad61b45fd3300aa172d968c33d5f8 (patch)
tree87ead19b92968aff1a40bec06ee19e5ee9eb09d2 /chrome/renderer
parent374c5495268eb82a7328d504c1fe24969c56e9b6 (diff)
downloadchromium_src-c2fe3154d36ad61b45fd3300aa172d968c33d5f8.zip
chromium_src-c2fe3154d36ad61b45fd3300aa172d968c33d5f8.tar.gz
chromium_src-c2fe3154d36ad61b45fd3300aa172d968c33d5f8.tar.bz2
Prevent an extra copy of data types that get passed into IPC messages when
sending them. This makes it so that types sendable via IPC no longer need copy constructors. BUG=12296 Review URL: http://codereview.chromium.org/112042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_view_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_view_unittest.cc b/chrome/renderer/render_view_unittest.cc
index 8a2ed21..8537583 100644
--- a/chrome/renderer/render_view_unittest.cc
+++ b/chrome/renderer/render_view_unittest.cc
@@ -305,7 +305,7 @@ TEST_F(RenderViewTest, OnPrintPages) {
EXPECT_TRUE(did_print_msg);
ViewHostMsg_DidPrintPage::Param post_did_print_page_param;
ViewHostMsg_DidPrintPage::Read(did_print_msg, &post_did_print_page_param);
- EXPECT_EQ(0, post_did_print_page_param.page_number);
+ EXPECT_EQ(0, post_did_print_page_param.a.page_number);
#else
NOTIMPLEMENTED();
#endif