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

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

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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index e9f4bc47d90bf3ef4e1b494a2240f9bef1c029e7..10015b6013ccad60b9a321db0e1e2ea35bb3c4ae 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -54,8 +54,7 @@ enum StyleRecalcChange {
ReattachNoLayoutObject
};
-static const size_t PrintColorAdjustBits = 1;
-enum PrintColorAdjust { PrintColorAdjustEconomy, PrintColorAdjustExact };
+enum class PrintColorAdjust : unsigned { Economy, Exact };
// Static pseudo styles. Dynamic ones are produced on the fly.
enum PseudoId {
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698