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

Unified Diff: chrome/common/common_param_traits_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: Addressing reviewer's comments 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
Index: chrome/common/common_param_traits_unittest.cc
diff --git a/chrome/common/common_param_traits_unittest.cc b/chrome/common/common_param_traits_unittest.cc
index 186e68e9503c3833d5c457539f017d1a03631c3d..b1ae14a9c733a5db20935f7d51de15931eca5ad6 100644
--- a/chrome/common/common_param_traits_unittest.cc
+++ b/chrome/common/common_param_traits_unittest.cc
@@ -254,7 +254,7 @@ TEST(IPCMessageTest, Metafile) {
&msg, &iter, output.get()));
EXPECT_EQ(metafile->GetDataSize(), output->GetDataSize());
- EXPECT_EQ(metafile->GetBounds(), output->GetBounds());
+ EXPECT_EQ(metafile->GetPageBounds(1), output->GetPageBounds(1));
EXPECT_EQ(::GetDeviceCaps(metafile->hdc(), LOGPIXELSX),
::GetDeviceCaps(output->hdc(), LOGPIXELSX));

Powered by Google App Engine
This is Rietveld 408576698