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 3d6d0f913eb04a570f2d45cd7e6e13d36f321766..b4ecd981734addca986fd456fc3952487c666dad 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
@@ -692,7 +692,7 @@ void BoxPainter::paintBoxShadow(const PaintInfo& info, const LayoutRect& paintRe |
bool BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle& style, const Document& document) |
{ |
- return document.printing() && style.printColorAdjust() == PrintColorAdjustEconomy |
+ return document.printing() && style.getPrintColorAdjust() == PrintColorAdjustEconomy |
&& (!document.settings() || !document.settings()->shouldPrintBackgrounds()); |
} |