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

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

Issue 2405633002: Reformat comments in core/layout (Closed)
Patch Set: Created 4 years, 2 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 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;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTextTest.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698