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

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

Issue 2612093003: Rename m_fontSize *variable* to currentFontSize. (Closed)
Patch Set: Remove the no longer needed |this->| part. 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698