diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 02:24:44 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 02:24:44 +0000 |
commit | 39892b93d23fa18a0571f9098eebe5bcaeea91f0 (patch) | |
tree | 7f1d519e2350d26d8d0e82be2a069ade51925778 /printing/emf_win_unittest.cc | |
parent | f1e6bdc4cd64a95528400c3614610760ff13bc1f (diff) | |
download | chromium_src-39892b93d23fa18a0571f9098eebe5bcaeea91f0.zip chromium_src-39892b93d23fa18a0571f9098eebe5bcaeea91f0.tar.gz chromium_src-39892b93d23fa18a0571f9098eebe5bcaeea91f0.tar.bz2 |
Fix print preview clipping issues due to scaling.
BUG=79941
TEST=none
Review URL: http://codereview.chromium.org/6879098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/emf_win_unittest.cc')
-rw-r--r-- | printing/emf_win_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc index 3ea1282..d683729 100644 --- a/printing/emf_win_unittest.cc +++ b/printing/emf_win_unittest.cc @@ -136,7 +136,7 @@ TEST_F(EmfPrintingTest, PageBreak) { EXPECT_TRUE(emf.context() != NULL); int pages = 3; while (pages) { - EXPECT_TRUE(emf.StartPage(gfx::Size(), gfx::Point(), 1)); + EXPECT_TRUE(emf.StartPage(gfx::Size(), gfx::Rect(), 1)); ::Rectangle(emf.context(), 10, 10, 190, 190); EXPECT_TRUE(emf.FinishPage()); --pages; |