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

Unified Diff: printing/pdf_metafile_mac_unittest.cc

Issue 6709009: Stop overloading Init() in NativeMetafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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_metafile_mac.cc ('k') | printing/pdf_ps_metafile_cairo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_mac_unittest.cc
diff --git a/printing/pdf_metafile_mac_unittest.cc b/printing/pdf_metafile_mac_unittest.cc
index b45370d63b02133828cc150ea0d2a25b8b0b91cd..b4b6996ea5a761cb3a345aace17c1a345480821b 100644
--- a/printing/pdf_metafile_mac_unittest.cc
+++ b/printing/pdf_metafile_mac_unittest.cc
@@ -44,7 +44,7 @@ TEST(PdfMetafileTest, Pdf) {
// Test browser-side constructor.
printing::PdfMetafile pdf2;
- EXPECT_TRUE(pdf2.Init(&buffer.front(), size));
+ EXPECT_TRUE(pdf2.InitFromData(&buffer.front(), size));
// Get the first 4 characters from pdf2.
std::vector<char> buffer2(4, 0);
« no previous file with comments | « printing/pdf_metafile_mac.cc ('k') | printing/pdf_ps_metafile_cairo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698