| 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 {
|
|
|