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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2570463002: Moved -webkit-print-color-adjust property to be generated. (Closed)
Patch Set: Rebase Created 4 years 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/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index fcbdce1b64c2b7b458d096b2072ec9ca5948cd49..4ce2401a79b745334a3908a662d24c220a72a76a 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -204,7 +204,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
(m_cursorStyle == other.m_cursorStyle) &&
(m_direction == other.m_direction) &&
(m_rtlOrdering == other.m_rtlOrdering) &&
- (m_printColorAdjust == other.m_printColorAdjust) &&
(m_insideLink == other.m_insideLink) &&
(m_writingMode == other.m_writingMode);
}
@@ -223,7 +222,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// non CSS2 inherited
unsigned m_rtlOrdering : 1; // EOrder
- unsigned m_printColorAdjust : 1; // PrintColorAdjust
unsigned m_insideLink : 2; // EInsideLink
// CSS Text Layout Module Level 3: Vertical writing support
@@ -324,8 +322,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor());
m_inheritedData.m_direction = initialDirection();
m_inheritedData.m_rtlOrdering = static_cast<unsigned>(initialRTLOrdering());
- m_inheritedData.m_printColorAdjust =
- static_cast<unsigned>(initialPrintColorAdjust());
m_inheritedData.m_insideLink = NotInsideLink;
m_inheritedData.m_writingMode = initialWritingMode();
@@ -2299,17 +2295,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareNonInheritedData, lineClamp, c);
}
- // -webkit-print-color-adjust
- static PrintColorAdjust initialPrintColorAdjust() {
- return PrintColorAdjust::Economy;
- }
- PrintColorAdjust getPrintColorAdjust() const {
- return static_cast<PrintColorAdjust>(m_inheritedData.m_printColorAdjust);
- }
- void setPrintColorAdjust(PrintColorAdjust value) {
- m_inheritedData.m_printColorAdjust = static_cast<unsigned>(value);
- }
-
// -webkit-rtl-ordering
static EOrder initialRTLOrdering() { return EOrder::Logical; }
EOrder rtlOrdering() const {
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698