| Index: chrome/test/base/web_ui_browser_test.cc
|
| diff --git a/chrome/test/base/web_ui_browser_test.cc b/chrome/test/base/web_ui_browser_test.cc
|
| index a2506f45597aaba38983353d82d3d04a546408c0..4ba0b0b0006c87a9a0c38f4c67b2157979b46dba 100644
|
| --- a/chrome/test/base/web_ui_browser_test.cc
|
| +++ b/chrome/test/base/web_ui_browser_test.cc
|
| @@ -32,7 +32,7 @@
|
| #include "net/base/filename_util.h"
|
| #include "ui/base/resource/resource_handle.h"
|
|
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| #include "chrome/browser/printing/print_preview_dialog_controller.h"
|
| #endif
|
|
|
| @@ -220,7 +220,7 @@ void WebUIBrowserTest::BrowsePreload(const GURL& browse_to) {
|
| navigation_observer.Wait();
|
| }
|
|
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
|
|
| // This custom ContentBrowserClient is used to get notified when a WebContents
|
| // for the print preview dialog gets created.
|
| @@ -263,7 +263,7 @@ class PrintContentBrowserClient : public chrome::ChromeContentBrowserClient {
|
| #endif
|
|
|
| void WebUIBrowserTest::BrowsePrintPreload(const GURL& browse_to) {
|
| -#if defined(ENABLE_FULL_PRINTING)
|
| +#if defined(ENABLE_PRINT_PREVIEW)
|
| ui_test_utils::NavigateToURL(browser(), browse_to);
|
|
|
| PrintContentBrowserClient new_client(
|
|
|