fix accessing headers from resourcerequestdetails

This commit is contained in:
deepak1556 2015-05-28 11:10:25 +05:30
parent 4a376694b4
commit f98da217e1

View file

@ -317,7 +317,7 @@ void WebContents::DidGetResourceResponseStart(
v8::HandleScope handle_scope(isolate); v8::HandleScope handle_scope(isolate);
mate::Dictionary response_headers(isolate, v8::Object::New(isolate)); mate::Dictionary response_headers(isolate, v8::Object::New(isolate));
net::HttpResponseHeaders* headers = details.response_info.headers.get(); net::HttpResponseHeaders* headers = details.headers.get();
void* iter = nullptr; void* iter = nullptr;
std::string key; std::string key;
std::string value; std::string value;