Fixing build: removing constness on net::HttpResponseHeaders as otherwise we would need a change in libchromiumcontent.

This commit is contained in:
ali.ibrahim 2016-10-13 17:51:19 +02:00
parent 6f5b0a28c5
commit de29f2dde5
6 changed files with 12 additions and 12 deletions

View file

@ -61,9 +61,9 @@ v8::Local<v8::Value> Converter<scoped_refptr<net::X509Certificate>>::ToV8(
// static
v8::Local<v8::Value>
Converter<scoped_refptr<const net::HttpResponseHeaders>>::ToV8(
Converter<scoped_refptr<net::HttpResponseHeaders>>::ToV8(
v8::Isolate* isolate,
scoped_refptr<const net::HttpResponseHeaders> headers) {
scoped_refptr<net::HttpResponseHeaders> headers) {
base::DictionaryValue response_headers;
if (headers) {
size_t iter = 0;

View file

@ -35,9 +35,9 @@ struct Converter<scoped_refptr<net::X509Certificate>> {
};
template<>
struct Converter<scoped_refptr<const net::HttpResponseHeaders>> {
struct Converter<scoped_refptr<net::HttpResponseHeaders>> {
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
scoped_refptr<const net::HttpResponseHeaders> headers);
scoped_refptr<net::HttpResponseHeaders> headers);
};
} // namespace mate