Index: third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
index 29584c4447567251b175e8525a5f7f0bc7e38ef4..082ce4127b61a9daed5b170ff7f3f29ac8293e08 100644 |
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
@@ -717,7 +717,7 @@ TextAutosizer::Fingerprint TextAutosizer::computeFingerprint(const LayoutObject* |
data.m_packedStyleProperties = style->direction(); |
data.m_packedStyleProperties |= (style->position() << 1); |
data.m_packedStyleProperties |= (static_cast<unsigned>(style->floating()) << 4); |
- data.m_packedStyleProperties |= (style->display() << 6); |
+ data.m_packedStyleProperties |= (static_cast<unsigned>(style->display()) << 6); |
data.m_packedStyleProperties |= (style->width().type() << 11); |
// packedStyleProperties effectively using 15 bits now. |