diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp b/chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp index 8c145aef874..43ff6d6ac00 100644 --- a/chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp +++ b/chromium/third_party/WebKit/Source/core/css/FontFaceCache.cpp @@ -140,6 +140,8 @@ void FontFaceCache::IncrementVersion() { CSSSegmentedFontFace* FontFaceCache::Get( const FontDescription& font_description, const AtomicString& family) { + if (family.IsEmpty()) + return nullptr; SegmentedFacesByFamily::iterator segmented_faces_for_family = segmented_faces_.find(family); if (segmented_faces_for_family == segmented_faces_.end() || |