From edc531f9ec270823787167f70c4c8c1ad45de146 Mon Sep 17 00:00:00 2001 From: "dpapad@chromium.org" Date: Fri, 18 Mar 2011 17:52:23 +0000 Subject: Unifying StartPage across all platforms Since there is already a getter method for retrieving the context, there is no reason for StartPage to return it. Also the parameter list can be uniform across all platforms. Some arguments are unused in order to achieve this. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6667069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78717 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/emf_win_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'printing/emf_win_unittest.cc') diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc index 2f4e2ae..a5bd583 100644 --- a/printing/emf_win_unittest.cc +++ b/printing/emf_win_unittest.cc @@ -17,6 +17,8 @@ #include "base/win/scoped_hdc.h" #include "printing/printing_context.h" #include "testing/gtest/include/gtest/gtest.h" +#include "ui/gfx/point.h" +#include "ui/gfx/size.h" namespace { @@ -131,7 +133,7 @@ TEST_F(EmfPrintingTest, PageBreak) { EXPECT_TRUE(emf.context() != NULL); int pages = 3; while (pages) { - EXPECT_TRUE(emf.StartPage()); + EXPECT_TRUE(emf.StartPage(gfx::Size(), gfx::Point(), 1)); ::Rectangle(emf.context(), 10, 10, 190, 190); EXPECT_TRUE(emf.FinishPage()); --pages; -- cgit v1.1