Fix more code styles.

This commit is contained in:
Haojian Wu 2015-06-20 10:41:40 +08:00
parent c164da5a38
commit bafbee805c
5 changed files with 39 additions and 37 deletions

View file

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