Chromium Code Reviews| Index: gin/modules/console.cc |
| diff --git a/gin/modules/console.cc b/gin/modules/console.cc |
| index 75241df081a7acd1f95fc8e2a87165890f4966e3..d172373f01df2a0a2d194bfbc866e65f17015087 100644 |
| --- a/gin/modules/console.cc |
| +++ b/gin/modules/console.cc |
| @@ -43,7 +43,7 @@ |
| .Build(); |
| data->SetObjectTemplate(&g_wrapper_info, templ); |
| } |
| - return templ->NewInstance(isolate->GetCurrentContext()).ToLocalChecked(); |
| + return templ->NewInstance(); |
| } |
| } // namespace gin |