| Index: Source/modules/serviceworkers/Headers.h
|
| diff --git a/Source/modules/serviceworkers/Headers.h b/Source/modules/serviceworkers/Headers.h
|
| index 98732fa7aadc99bd05c74a7c1cd1276e4d041360..30d7bcc721accef25a92eccb8932eb92e7704f16 100644
|
| --- a/Source/modules/serviceworkers/Headers.h
|
| +++ b/Source/modules/serviceworkers/Headers.h
|
| @@ -42,7 +42,7 @@ public:
|
| bool has(const String& key, ExceptionState&);
|
| void set(const String& key, const String& value, ExceptionState&);
|
| unsigned long size() const;
|
| - void forEach(PassOwnPtr<HeadersForEachCallback>, ScriptValue&);
|
| + void forEach(PassOwnPtr<HeadersForEachCallback>, const ScriptValue&);
|
| void forEach(PassOwnPtr<HeadersForEachCallback>);
|
|
|
| void setGuard(Guard guard) { m_guard = guard; }
|
| @@ -58,7 +58,7 @@ private:
|
| Headers();
|
| // Shares the FetchHeaderList. Called when creating a Request or Response.
|
| explicit Headers(FetchHeaderList*);
|
| - void forEachInternal(PassOwnPtr<HeadersForEachCallback>, ScriptValue*);
|
| + void forEachInternal(PassOwnPtr<HeadersForEachCallback>, const ScriptValue*);
|
|
|
| RefPtrWillBeMember<FetchHeaderList> m_headerList;
|
| Guard m_guard;
|
|
|