Index: Source/core/css/FontFace.cpp |
diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp |
index c14801203761f92e65f8aebc9870a546b89862ca..32b22a08e2eaea515c63aeb20b9292b0cf7a38f5 100644 |
--- a/Source/core/css/FontFace.cpp |
+++ b/Source/core/css/FontFace.cpp |
@@ -136,17 +136,17 @@ FontFace::FontFace(ExecutionContext* context, const AtomicString& family, const |
{ |
Document* document = toDocument(context); |
String value; |
- if (DictionaryHelper::get(descriptors, "style", value)) |
+ if (descriptors.get("style", value)) |
setPropertyFromString(document, value, CSSPropertyFontStyle); |
- if (DictionaryHelper::get(descriptors, "weight", value)) |
+ if (descriptors.get("weight", value)) |
setPropertyFromString(document, value, CSSPropertyFontWeight); |
- if (DictionaryHelper::get(descriptors, "stretch", value)) |
+ if (descriptors.get("stretch", value)) |
setPropertyFromString(document, value, CSSPropertyFontStretch); |
- if (DictionaryHelper::get(descriptors, "unicodeRange", value)) |
+ if (descriptors.get("unicodeRange", value)) |
setPropertyFromString(document, value, CSSPropertyUnicodeRange); |
- if (DictionaryHelper::get(descriptors, "variant", value)) |
+ if (descriptors.get("variant", value)) |
setPropertyFromString(document, value, CSSPropertyFontVariant); |
- if (DictionaryHelper::get(descriptors, "featureSettings", value)) |
+ if (descriptors.get("featureSettings", value)) |
setPropertyFromString(document, value, CSSPropertyWebkitFontFeatureSettings); |
} |