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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen 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/layout/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index f598a3fdb57e9c6d6c0dd4c0c1f2760502777148..0c5ff187e97dfe697de081c5b3c386d7058e728f 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -816,7 +816,7 @@ TextAutosizer::Fingerprint TextAutosizer::computeFingerprint(
QualifiedNameHash::hash(toElement(node)->tagQName());
if (const ComputedStyle* style = layoutObject->style()) {
- data.m_packedStyleProperties = style->direction();
+ data.m_packedStyleProperties = static_cast<unsigned>(style->direction());
data.m_packedStyleProperties |= (style->position() << 1);
data.m_packedStyleProperties |=
(static_cast<unsigned>(style->floating()) << 4);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.mm ('k') | third_party/WebKit/Source/core/layout/TextRunConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698