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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFamily.h

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: comments 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/platform/fonts/FontFamily.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontFamily.h b/third_party/WebKit/Source/platform/fonts/FontFamily.h
index e6bbd6e3547582d99aff7b4942e3519608087397..6be568fb1f70206f26bf3292933231fe894b9db1 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFamily.h
+++ b/third_party/WebKit/Source/platform/fonts/FontFamily.h
@@ -77,10 +77,10 @@ inline bool operator!=(const FontFamily& a, const FontFamily& b) {
inline FontFamily::~FontFamily() {
RefPtr<SharedFontFamily> reaper = m_next.release();
- while (reaper && reaper->hasOneRef())
- reaper =
- reaper
- ->releaseNext(); // implicitly protects reaper->next, then derefs reaper
+ while (reaper && reaper->hasOneRef()) {
+ // implicitly protects reaper->next, then derefs reaper
+ reaper = reaper->releaseNext();
+ }
}
inline const FontFamily* FontFamily::next() const {

Powered by Google App Engine
This is Rietveld 408576698