| 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 fd075d22f90cae58c0aae7ffcdafaa6007a50768..6753215681c54ac77bba2eb61e3d4889ca915562 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextTrackContainer.cpp
|
| @@ -69,10 +69,10 @@ bool LayoutTextTrackContainer::updateSizes(
|
| // 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;
|
| - return m_fontSize != oldFontSize;
|
| + volatile float& currentFontSize = m_fontSize;
|
| + float oldFontSize = currentFontSize;
|
| + currentFontSize = fontSize;
|
| + return currentFontSize != oldFontSize;
|
| }
|
|
|
| } // namespace blink
|
|
|