| Index: third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp b/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| index 51a2a0cd131fa353d6cedd5a255dda3ffc3df387..fd075d22f90cae58c0aae7ffcdafaa6007a50768 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| @@ -65,9 +65,10 @@ bool LayoutTextTrackContainer::updateSizes(
|
| float fontSize = smallestDimension * 0.05f;
|
|
|
| // Avoid excessive FP precision issue.
|
| - // C11 5.2.4.2.2:9 requires assignment and cast to remove extra precision, but the behavior
|
| - // is currently not portable. fontSize may have precision higher than m_fontSize thus
|
| - // straight comparison can fail despite they cast to the same float value.
|
| + // C11 5.2.4.2.2:9 requires assignment and cast to remove extra precision, but
|
| + // the behavior is currently not portable. fontSize may have precision higher
|
| + // than m_fontSize thus straight comparison can fail despite they cast to the
|
| + // same float value.
|
| volatile float& m_fontSize = this->m_fontSize;
|
| float oldFontSize = m_fontSize;
|
| m_fontSize = fontSize;
|
|
|