summaryrefslogtreecommitdiffstats
path: root/printing/page_overlays_unittest.cc
diff options
context:
space:
mode:
authorhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 07:04:05 +0000
committerhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 07:04:05 +0000
commit40c7cfe39957248d38d8c376fbfc7d332c796741 (patch)
tree1e9cbc2bda99a4b4bc3286504dbca59a7542fb70 /printing/page_overlays_unittest.cc
parent829c9bbc87035a0e6a5606ff7654b761a2d9d0bf (diff)
downloadchromium_src-40c7cfe39957248d38d8c376fbfc7d332c796741.zip
chromium_src-40c7cfe39957248d38d8c376fbfc7d332c796741.tar.gz
chromium_src-40c7cfe39957248d38d8c376fbfc7d332c796741.tar.bz2
Implement limited paged media support for mac.
BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2876020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/page_overlays_unittest.cc')
-rw-r--r--printing/page_overlays_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/page_overlays_unittest.cc b/printing/page_overlays_unittest.cc
index bad78de..8a19dcd 100644
--- a/printing/page_overlays_unittest.cc
+++ b/printing/page_overlays_unittest.cc
@@ -57,8 +57,9 @@ TEST_F(PageOverlaysTest, StringConversion) {
new printing::PrintedDocument(settings, &source, cookie));
doc->set_page_count(2);
gfx::Size page_size(100, 100);
+ gfx::Rect page_content_area(5, 5, 90, 90);
scoped_refptr<printing::PrintedPage> page(
- new printing::PrintedPage(1, NULL, page_size));
+ new printing::PrintedPage(1, NULL, page_size, page_content_area));
std::wstring input;
std::wstring out;