| 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..521d3076e27094eb82343672dc4a29342be88343 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& current_font_size = this->font_size_;
|
| + float old_font_size = current_font_size;
|
| + current_font_size = font_size;
|
| + return current_font_size != old_font_size;
|
| }
|
|
|
| } // namespace blink
|
|
|