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

Unified Diff: printing/pdf_metafile_mac_unittest.cc

Issue 6611032: Unifying NativeMetafile class interface (as much as possible) for Linux, Mac, Win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed include ordering, some comments and style Created 9 years, 10 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
Index: printing/pdf_metafile_mac_unittest.cc
diff --git a/printing/pdf_metafile_mac_unittest.cc b/printing/pdf_metafile_mac_unittest.cc
index 8b52b0677da2a92bb073693f6edf0acbcff4ccf0..857a63e092c5397e6e581767d5157ce39a178235 100644
--- a/printing/pdf_metafile_mac_unittest.cc
+++ b/printing/pdf_metafile_mac_unittest.cc
@@ -17,7 +17,8 @@ namespace printing {
TEST(PdfMetafileTest, Pdf) {
// Test in-renderer constructor.
printing::PdfMetafile pdf;
- EXPECT_TRUE(pdf.Init() != NULL);
+ pdf.Init();
Lei Zhang 2011/03/04 12:02:36 probably good to make sure this returns true.
dpapad 2011/03/04 19:19:43 Done.
+ EXPECT_TRUE(pdf.context() != NULL);
// Render page 1 at origin (10.0, 10.0).
gfx::Point origin_1(10.0f, 10.0f);

Powered by Google App Engine
This is Rietveld 408576698