Fixing build: removing constness on net::HttpResponseHeaders as otherwise we would need a change in libchromiumcontent.
This commit is contained in:
parent
6f5b0a28c5
commit
de29f2dde5
6 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue