summaryrefslogtreecommitdiffstats
path: root/chrome/common/common_param_traits_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/common_param_traits_unittest.cc')
-rw-r--r--chrome/common/common_param_traits_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/common_param_traits_unittest.cc b/chrome/common/common_param_traits_unittest.cc
index f9aabe1..7928032 100644
--- a/chrome/common/common_param_traits_unittest.cc
+++ b/chrome/common/common_param_traits_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -241,7 +241,7 @@ TEST(IPCMessageTest, Metafile) {
printing::NativeMetafileFactory::CreateMetafile());
RECT test_rect = {0, 0, 100, 100};
// Create a metafile using the screen DC as a reference.
- metafile->Init();
+ metafile->CreateDc(NULL, NULL);
metafile->Close();
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);