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

Unified Diff: printing/pdf_ps_metafile_cairo_unittest.cc

Issue 1520014: Linux: fix printing somewhat.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
« no previous file with comments | « printing/pdf_ps_metafile_cairo.cc ('k') | third_party/WebKit/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_ps_metafile_cairo_unittest.cc
===================================================================
--- printing/pdf_ps_metafile_cairo_unittest.cc (revision 43766)
+++ printing/pdf_ps_metafile_cairo_unittest.cc (working copy)
@@ -30,13 +30,13 @@
cairo_t* context = pdf.StartPage(72, 72);
EXPECT_TRUE(context != NULL);
// In theory, we should use Cairo to draw something on |context|.
- EXPECT_TRUE(pdf.FinishPage(1.5));
+ EXPECT_TRUE(pdf.FinishPage());
// Renders page 2.
context = pdf.StartPage(64, 64);
EXPECT_TRUE(context != NULL);
// In theory, we should use Cairo to draw something on |context|.
- EXPECT_TRUE(pdf.FinishPage(0.5));
+ EXPECT_TRUE(pdf.FinishPage());
// Closes the file.
pdf.Close();
@@ -74,13 +74,13 @@
cairo_t* context = ps.StartPage(72, 72);
EXPECT_TRUE(context != NULL);
// In theory, we should use Cairo to draw something on |context|.
- EXPECT_TRUE(ps.FinishPage(1.5));
+ EXPECT_TRUE(ps.FinishPage());
// Renders page 2.
context = ps.StartPage(64, 64);
EXPECT_TRUE(context != NULL);
// In theory, we should use Cairo to draw something on |context|.
- EXPECT_TRUE(ps.FinishPage(0.5));
+ EXPECT_TRUE(ps.FinishPage());
// Closes the file.
ps.Close();
« no previous file with comments | « printing/pdf_ps_metafile_cairo.cc ('k') | third_party/WebKit/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698