Fix more code styles.
This commit is contained in:
parent
c164da5a38
commit
bafbee805c
5 changed files with 39 additions and 37 deletions
|
@ -587,7 +587,7 @@ void WebContents::InspectServiceWorker() {
|
|||
|
||||
v8::Local<v8::Value> WebContents::Session(v8::Isolate* isolate) {
|
||||
if (session_.IsEmpty()) {
|
||||
auto handle = Session::Create(isolate, web_contents());
|
||||
auto handle = Session::Create(isolate, web_contents()->GetBrowserContext());
|
||||
session_.Reset(isolate, handle.ToV8());
|
||||
}
|
||||
return v8::Local<v8::Value>::New(isolate, session_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue