Fix crash when creating protocol module
This commit is contained in:
parent
48f819f337
commit
0a6bb9c36a
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ namespace atom {
|
|||
namespace api {
|
||||
|
||||
Protocol::Protocol(v8::Isolate* isolate, AtomBrowserContext* browser_context)
|
||||
: request_context_getter_(browser_context->url_request_context_getter()),
|
||||
: request_context_getter_(browser_context->GetRequestContext()),
|
||||
weak_factory_(this) {
|
||||
Init(isolate);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue