| Index: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| index a6366754ee6b5b2cc03419b3c0d05758955e98a3..82a86b986a43891975979e43d67c33e05f306e4c 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
|
| @@ -103,8 +103,11 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(
|
|
|
| RefPtr<SegmentedFontData>& fontData =
|
| m_fontDataTable.add(key, nullptr).storedValue->value;
|
| - if (fontData && fontData->numFaces())
|
| - return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it has.
|
| + if (fontData && fontData->numFaces()) {
|
| + // No release, we have a reference to an object in the cache which should
|
| + // retain the ref count it has.
|
| + return fontData;
|
| + }
|
|
|
| if (!fontData)
|
| fontData = SegmentedFontData::create();
|
| @@ -133,8 +136,11 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(
|
| faceFontData.release(), (*it)->cssFontFace()->ranges())));
|
| }
|
| }
|
| - if (fontData->numFaces())
|
| - return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it has.
|
| + if (fontData->numFaces()) {
|
| + // No release, we have a reference to an object in the cache which should
|
| + // retain the ref count it has.
|
| + return fontData;
|
| + }
|
|
|
| return nullptr;
|
| }
|
|
|