Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / websockets / WebSocketPerMessageDeflate.cpp
index 5843ebc..0ec28f2 100644 (file)
@@ -39,7 +39,7 @@
 #include "wtf/text/StringHash.h"
 #include "wtf/text/WTFString.h"
 
-namespace WebCore {
+namespace blink {
 
 class CompressionMessageExtensionProcessor FINAL : public WebSocketExtensionProcessor {
     WTF_MAKE_FAST_ALLOCATED;
@@ -137,7 +137,7 @@ bool CompressionMessageExtensionProcessor::processResponse(const HashMap<String,
         m_failureReason = "Received an unexpected permessage-deflate extension parameter";
         return false;
     }
-    blink::Platform::current()->histogramEnumeration("WebCore.WebSocket.PerMessageDeflateContextTakeOverMode", mode, WebSocketDeflater::ContextTakeOverModeMax);
+    Platform::current()->histogramEnumeration("WebCore.WebSocket.PerMessageDeflateContextTakeOverMode", mode, WebSocketDeflater::ContextTakeOverModeMax);
     m_compress.enable(windowBits, mode);
     // Since we don't request server_no_context_takeover and server_max_window_bits, they should be ignored.
     return true;
@@ -263,4 +263,4 @@ void WebSocketPerMessageDeflate::didFail()
     resetInflateBuffer();
 }
 
-} // namespace WebCore
+} // namespace blink