Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
index 477703da32f6a43e9fa7f742672c8d8f7aa6cd32..5b4303bd271a1d87b1c260307291e5276f2c158d 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
@@ -1051,7 +1051,7 @@ bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy( |
const ComputedStyle& style, |
const Document& document) { |
return document.printing() && |
- style.getPrintColorAdjust() == PrintColorAdjustEconomy && |
+ style.getPrintColorAdjust() == PrintColorAdjust::Economy && |
(!document.settings() || |
!document.settings()->shouldPrintBackgrounds()); |
} |