Index: third_party/WebKit/Source/platform/text/Hyphenation.cpp |
diff --git a/third_party/WebKit/Source/platform/text/Hyphenation.cpp b/third_party/WebKit/Source/platform/text/Hyphenation.cpp |
index 357ffb78a9cb5c0184b227771e1e73bd9e7088f2..563b60f101c31bf096436336029030a7dfc7ab43 100644 |
--- a/third_party/WebKit/Source/platform/text/Hyphenation.cpp |
+++ b/third_party/WebKit/Source/platform/text/Hyphenation.cpp |
@@ -16,6 +16,7 @@ Hyphenation::HyphenationMap& Hyphenation::getHyphenationMap() |
Hyphenation* Hyphenation::get(const AtomicString& locale) |
{ |
+ DCHECK(!locale.isNull()); |
Hyphenation::HyphenationMap& hyphenationMap = getHyphenationMap(); |
auto result = hyphenationMap.add(locale, nullptr); |
if (result.isNewEntry) |