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 20387d0a60ef0b2bfd3fd899a428f40d794432b0..11931c9a22d070b4019bbb8658bfea65106cf971 100644 |
--- a/chrome/common/common_param_traits_unittest.cc |
+++ b/chrome/common/common_param_traits_unittest.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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->CreateDc(NULL, NULL); |
+ metafile->Init(); |
metafile->Close(); |
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); |