| Index: extensions/renderer/display_source_custom_bindings.cc
|
| diff --git a/extensions/renderer/display_source_custom_bindings.cc b/extensions/renderer/display_source_custom_bindings.cc
|
| index 37c8bcb9e6b88f0d5d0b7affc26cb08c605b4dbf..0214e53691c3517d2a7ab573353088c6d7df703b 100644
|
| --- a/extensions/renderer/display_source_custom_bindings.cc
|
| +++ b/extensions/renderer/display_source_custom_bindings.cc
|
| @@ -17,8 +17,6 @@
|
|
|
| namespace extensions {
|
|
|
| -using content::V8ValueConverter;
|
| -
|
| namespace {
|
| const char kErrorNotSupported[] = "Not supported";
|
| const char kInvalidStreamArgs[] = "Invalid stream arguments";
|
| @@ -136,9 +134,9 @@ void DisplaySourceCustomBindings::StartSession(
|
| GetChildValue(start_info, "authenticationInfo", isolate);
|
| if (!auth_info_v8_val->IsNull()) {
|
| CHECK(auth_info_v8_val->IsObject());
|
| - std::unique_ptr<V8ValueConverter> converter(V8ValueConverter::create());
|
| - std::unique_ptr<base::Value> auth_info_val(
|
| - converter->FromV8Value(auth_info_v8_val, context()->v8_context()));
|
| + std::unique_ptr<base::Value> auth_info_val =
|
| + content::V8ValueConverter::Create()->FromV8Value(
|
| + auth_info_v8_val, context()->v8_context());
|
| CHECK(auth_info_val);
|
| auth_info = DisplaySourceAuthInfo::FromValue(*auth_info_val);
|
| }
|
|
|