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

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

Issue 2611823003: ABANDONED CL: Changes to compile and pass tests after Big Blink Rename (excluding functions). (Closed)
Patch Set: Inducing merge conflicts to force human review and changes after rename. Created 3 years, 11 months 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/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

Powered by Google App Engine
This is Rietveld 408576698