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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.cpp

Issue 2514273002: Changed PrintColorAdjust to an enum class and renamed its members (Closed)
Patch Set: 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: 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());
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698