Index: Source/core/xml/XMLHttpRequest.h |
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h |
index df7fdd739a7ae6763767badc80646cf61e7bbb57..d38e2c25c231a05d7f632793bb40307dcce1e5ab 100644 |
--- a/Source/core/xml/XMLHttpRequest.h |
+++ b/Source/core/xml/XMLHttpRequest.h |
@@ -113,7 +113,7 @@ public: |
void setRequestHeader(const AtomicString& name, const AtomicString& value, ExceptionState&); |
void overrideMimeType(const AtomicString& override); |
String getAllResponseHeaders(ExceptionState&) const; |
- AtomicString getResponseHeader(const AtomicString& name, ExceptionState&) const; |
+ const AtomicString& getResponseHeader(const AtomicString& name, ExceptionState&) const; |
ScriptString responseText(ExceptionState&); |
ScriptString responseJSONSource(); |
Document* responseXML(ExceptionState&); |
@@ -167,7 +167,7 @@ private: |
bool initSend(ExceptionState&); |
void sendBytesData(const void*, size_t, ExceptionState&); |
- AtomicString getRequestHeader(const AtomicString& name) const; |
+ const AtomicString& getRequestHeader(const AtomicString& name) const; |
void setRequestHeaderInternal(const AtomicString& name, const AtomicString& value); |
void trackProgress(int dataLength); |