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

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

Issue 2063773002: Reland: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/SimpleFontData.h
diff --git a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
index 54bed93e609a25618f6b20410a59cf214b3fa188..1403a8efe5e3c8f70f18e66e2cc42d6d6935133e 100644
--- a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
+++ b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
@@ -111,7 +111,7 @@ public:
Glyph glyphForCharacter(UChar32) const;
- bool isCustomFont() const override { return m_customFontData; }
+ bool isCustomFont() const override { return m_customFontData.get(); }
bool isLoading() const override { return m_customFontData ? m_customFontData->isLoading() : false; }
bool isLoadingFallback() const override { return m_customFontData ? m_customFontData->isLoadingFallback() : false; }
bool isSegmented() const override;

Powered by Google App Engine
This is Rietveld 408576698