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 7cfc428bafa07e0b2b4043ee0f3a013f13cd560c..ffb0b1d7800358d2b5250c6146998a60833ecfbb 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
@@ -82,11 +82,9 @@ enum PseudoId { |
AfterLastInternalPseudoId, |
FirstPublicPseudoId = PseudoIdFirstLine, |
FirstInternalPseudoId = PseudoIdScrollbarThumb, |
- PublicPseudoIdMask = |
- ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1), |
- ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) | |
- (1 << (PseudoIdAfter - 1)) | |
- (1 << (PseudoIdBackdrop - 1)) |
+ ElementPseudoIdMask = (1 << (PseudoIdBefore - FirstPublicPseudoId)) | |
+ (1 << (PseudoIdAfter - FirstPublicPseudoId)) | |
+ (1 << (PseudoIdBackdrop - FirstPublicPseudoId)) |
}; |
enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; |