Build fix for some compiler versions.

* TestWebKitAPI/Tests/mac/TypingStyleCrash.mm: (TestWebKitAPI::TEST): Compiler was
unhappy because this is a getter, and these shouldn't have side effects.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move HTTPHeaderMap encoding to the class
https://bugs.webkit.org/show_bug.cgi?id=138412

Reviewed by Andreas Kling.

Source/WebCore:

* platform/network/HTTPHeaderMap.h:
(WebCore::HTTPHeaderMap::encode):
(WebCore::HTTPHeaderMap::decode):

    Use generic encoding for the uncommon header map. Common headers still require custom code due to the enum class.

Source/WebKit2:

* PluginProcess/PluginControllerProxy.cpp:
* Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<HTTPHeaderMap>::encode): Deleted.
(IPC::ArgumentCoder<HTTPHeaderMap>::decode): Deleted.

    Make these HTTPHeaderMap members instead so they can access internals and can be used elsewhere.

* Shared/WebCoreArgumentCoders.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175614 268f45cc-cd09-0410-ab3c-d52691b4dbfc