Fix crash when creating protocol module

This commit is contained in:
Cheng Zhao 2016-07-04 15:32:02 +09:00
parent 48f819f337
commit 0a6bb9c36a
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

2
vendor/brightray vendored

@ -1 +1 @@
Subproject commit 9a4ffcf1297a2095c614b39bc71e51edbc9847c4
Subproject commit 7e64fc4f41d8dca161072063c1272fff6bac540f