| Index: printing/emf_win_unittest.cc
|
| diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc
|
| index c30800fbc2714e9bd94db2c5c70fd1361d7a42a7..01395a92831a7212949373d8b71a1a726a1bde6e 100644
|
| --- a/printing/emf_win_unittest.cc
|
| +++ b/printing/emf_win_unittest.cc
|
| @@ -8,6 +8,8 @@
|
| #include <wingdi.h>
|
| #include <winspool.h>
|
|
|
| +#include <string>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| @@ -124,7 +126,7 @@ TEST_F(EmfPrintingTest, Enumerate) {
|
|
|
| // Disabled if no "UnitTest printer" exists.
|
| TEST_F(EmfPrintingTest, PageBreak) {
|
| - base::win::ScopedHDC dc(
|
| + base::win::ScopedCreateDC dc(
|
| CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL));
|
| if (!dc.Get())
|
| return;
|
|
|