| Index: chrome/renderer/extensions/enterprise_platform_keys_natives.cc
|
| diff --git a/chrome/renderer/extensions/enterprise_platform_keys_natives.cc b/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
|
| index 9bccc8126e5125b655ffcfcc44d21697b87f3e37..9f84f7c603449ed682c72f41a61d904d9c952d2a 100644
|
| --- a/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
|
| +++ b/chrome/renderer/extensions/enterprise_platform_keys_natives.cc
|
| @@ -96,12 +96,9 @@ void EnterprisePlatformKeysNatives::NormalizeAlgorithm(
|
| blink::WebString error_details;
|
| int exception_code = 0;
|
|
|
| - blink::WebCryptoAlgorithm algorithm =
|
| - blink::normalizeCryptoAlgorithm(call_info[0]->ToObject(),
|
| - operation,
|
| - &exception_code,
|
| - &error_details,
|
| - call_info.GetIsolate());
|
| + blink::WebCryptoAlgorithm algorithm = blink::normalizeCryptoAlgorithm(
|
| + v8::Local<v8::Object>::Cast(call_info[0]), operation, &exception_code,
|
| + &error_details, call_info.GetIsolate());
|
|
|
| scoped_ptr<base::DictionaryValue> algorithm_dict;
|
| if (!algorithm.isNull())
|
|
|