Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9440)

Unified Diff: components/printing/test/print_test_content_renderer_client.cc

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/printing/test/print_test_content_renderer_client.cc
diff --git a/components/printing/test/print_test_content_renderer_client.cc b/components/printing/test/print_test_content_renderer_client.cc
index ef569f376a04e86939322edc0bc012ef65368dbb..a072e986694479507252e4b6be7a3dafae3f48b6 100644
--- a/components/printing/test/print_test_content_renderer_client.cc
+++ b/components/printing/test/print_test_content_renderer_client.cc
@@ -6,6 +6,7 @@
#include "base/memory/ptr_util.h"
#include "components/printing/renderer/print_web_view_helper.h"
+#include "printing/features/features.h"
#include "third_party/WebKit/public/web/WebElement.h"
namespace printing {
@@ -23,7 +24,7 @@ class PrintWebViewHelperDelegate : public PrintWebViewHelper::Delegate {
return blink::WebElement();
}
bool IsPrintPreviewEnabled() override {
-#if defined(ENABLE_PRINT_PREVIEW)
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
return true;
#else
return false;
« no previous file with comments | « components/printing/test/print_mock_render_thread.cc ('k') | components/printing/test/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698