Make WebsitePolicies a proper class with getters and setters
Created attachment 329301 [details] Patch
Comment on attachment 329301 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=329301&action=review > Source/WebKit/Shared/WebsitePolicies.h:71 > + const Vector<WebCore::HTTPHeaderField>& customHeaderFields() { return m_customHeaderFields; } Should be const-qualified. > Source/WebKit/UIProcess/API/APIWebsitePolicies.h:50 > + const Vector<WebCore::HTTPHeaderField> customHeaderFields() { return m_websitePolicies.customHeaderFields(); } Should be const-qualified. It's also weird to return a const value.
http://trac.webkit.org/r225925
<rdar://problem/36057847>