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

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

Issue 1891473002: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 eed56b4949fdd47ac01104d7db51188da61be3b7..b13d353e7184211af204b3e48a99bb4f0e386e5f 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