Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 83ec2564c1b81dde6ea8a7a059c96f7b3ef8a0a7..9c621901859d2b610cc0b928e9a1a4e6d459a95e 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -754,9 +754,9 @@ void StyleBuilderFunctions::applyValueCSSPropertyWebkitLocale(StyleResolverState |
{ |
if (value.isPrimitiveValue()) { |
DCHECK_EQ(toCSSPrimitiveValue(value).getValueID(), CSSValueAuto); |
- state.fontBuilder().setLocale(nullAtom); |
+ state.fontBuilder().setLocale(nullptr); |
} else { |
- state.fontBuilder().setLocale(AtomicString(toCSSStringValue(value).value())); |
+ state.fontBuilder().setLocale(LayoutLocale::get(AtomicString(toCSSStringValue(value).value()))); |
} |
} |