| Index: Source/modules/crypto/SubtleCrypto.cpp
|
| diff --git a/Source/modules/crypto/SubtleCrypto.cpp b/Source/modules/crypto/SubtleCrypto.cpp
|
| index 7df30b063d276dd5c96ec8dfd48e138f49346c97..d3a5dc7fe90103cf7456b9ade5e7a160ec79f8f1 100644
|
| --- a/Source/modules/crypto/SubtleCrypto.cpp
|
| +++ b/Source/modules/crypto/SubtleCrypto.cpp
|
| @@ -141,7 +141,7 @@ static ScriptPromise startCryptoOperation(ScriptState* scriptState, const Dictio
|
| static bool copyStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
|
| {
|
| String value;
|
| - if (!DictionaryHelper::get(source, property, value))
|
| + if (!source.get(property, value))
|
| return false;
|
| destination->setString(property, value);
|
| return true;
|
| @@ -150,7 +150,7 @@ static bool copyStringProperty(const char* property, const Dictionary& source, J
|
| static bool copySequenceOfStringProperty(const char* property, const Dictionary& source, JSONObject* destination)
|
| {
|
| Vector<String> value;
|
| - if (!DictionaryHelper::get(source, property, value))
|
| + if (!source.get(property, value))
|
| return false;
|
| RefPtr<JSONArray> jsonArray = JSONArray::create();
|
| for (unsigned i = 0; i < value.size(); ++i)
|
| @@ -177,7 +177,7 @@ static bool copyJwkDictionaryToJson(const Dictionary& dict, CString& jsonUtf8, C
|
| copyStringProperty("alg", dict, jsonObject.get());
|
|
|
| bool ext;
|
| - if (DictionaryHelper::get(dict, "ext", ext))
|
| + if (dict.get("ext", ext))
|
| jsonObject->setBoolean("ext", ext);
|
|
|
| const char* const propertyNames[] = { "d", "n", "e", "p", "q", "dp", "dq", "qi", "k" };
|
|
|