Atomicize frequently identical ResourceResponse string members.
[WebKit-https.git] / Source / WebCore / platform / network / ResourceResponseBase.h
index 9d838acc49703710af7c7cddadf2f36e3d990f9b..757032f6cc65a16054033a745139cc4489506cee 100644 (file)
@@ -141,11 +141,11 @@ protected:
     static bool platformCompare(const ResourceResponse&, const ResourceResponse&) { return true; }
 
     URL m_url;
-    String m_mimeType;
+    AtomicString m_mimeType;
     long long m_expectedContentLength;
-    String m_textEncodingName;
+    AtomicString m_textEncodingName;
     String m_suggestedFilename;
-    String m_httpStatusText;
+    AtomicString m_httpStatusText;
     HTTPHeaderMap m_httpHeaderFields;
     RefPtr<ResourceLoadTiming> m_resourceLoadTiming;