| Index: components/dom_distiller/content/renderer/distiller_native_javascript.cc
|
| diff --git a/components/dom_distiller/content/renderer/distiller_native_javascript.cc b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
|
| index 767dac67ef3d11ccc1a3803702463641308bd8b4..47a5bb8edcd1e5502a6ef256f8f513b446f91245 100644
|
| --- a/components/dom_distiller/content/renderer/distiller_native_javascript.cc
|
| +++ b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
|
| @@ -70,7 +70,7 @@ v8::Local<v8::Object> GetOrCreateDistillerObject(v8::Isolate* isolate,
|
| distiller_obj = v8::Object::New(isolate);
|
| global->Set(gin::StringToSymbol(isolate, "distiller"), distiller_obj);
|
| } else {
|
| - distiller_obj = v8::Local<v8::Object>::Cast(distiller_value);
|
| + distiller_obj = distiller_value.As<v8::Object>();
|
| }
|
| return distiller_obj;
|
| }
|
|
|