| 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 6be568fb1f70206f26bf3292933231fe894b9db1..99ccc78bb9915ce90415367329a45660bbd0bb5f 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontFamily.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFamily.h
|
| @@ -76,7 +76,7 @@ inline bool operator!=(const FontFamily& a, const FontFamily& b) {
|
| }
|
|
|
| inline FontFamily::~FontFamily() {
|
| - RefPtr<SharedFontFamily> reaper = m_next.release();
|
| + RefPtr<SharedFontFamily> reaper = std::move(m_next);
|
| while (reaper && reaper->hasOneRef()) {
|
| // implicitly protects reaper->next, then derefs reaper
|
| reaper = reaper->releaseNext();
|
| @@ -92,7 +92,7 @@ inline void FontFamily::appendFamily(PassRefPtr<SharedFontFamily> family) {
|
| }
|
|
|
| inline PassRefPtr<SharedFontFamily> FontFamily::releaseNext() {
|
| - return m_next.release();
|
| + return std::move(m_next);
|
| }
|
|
|
| } // namespace blink
|
|
|