| Index: chrome/browser/pdf_browsertest.cc
|
| diff --git a/chrome/browser/pdf_browsertest.cc b/chrome/browser/pdf_browsertest.cc
|
| index 82980fca8e9e4109c2d7aa6b6297f856468e14a7..c16a64f51967df83680dcaddf1624f8bcbb642f3 100644
|
| --- a/chrome/browser/pdf_browsertest.cc
|
| +++ b/chrome/browser/pdf_browsertest.cc
|
| @@ -9,8 +9,8 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| +#include "chrome/browser/ui/monitor_info_provider.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| -#include "chrome/browser/ui/window_sizer.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| @@ -62,8 +62,7 @@ class PDFBrowserTest : public InProcessBrowserTest,
|
| // to a smaller window and then expanding leads to slight anti-aliasing
|
| // differences of the text and the pixel comparison fails.
|
| gfx::Rect bounds(gfx::Rect(0, 0, kBrowserWidth, kBrowserHeight));
|
| - scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_info(
|
| - WindowSizer::CreateDefaultMonitorInfoProvider());
|
| + scoped_ptr<MonitorInfoProvider> monitor_info(MonitorInfoProvider::Create());
|
| gfx::Rect screen_bounds = monitor_info->GetPrimaryMonitorBounds();
|
| ASSERT_GT(screen_bounds.width(), kBrowserWidth);
|
| ASSERT_GT(screen_bounds.height(), kBrowserHeight);
|
|
|