Replace WTF::move with WTFMove
[WebKit-https.git] / Source / JavaScriptCore / inspector / agents / InspectorConsoleAgent.cpp
index a11d9f1..13eebe9 100644 (file)
@@ -40,8 +40,8 @@
 
 namespace Inspector {
 
-static const unsigned maximumConsoleMessages = 1000;
-static const int expireConsoleMessagesStep = 100;
+static const unsigned maximumConsoleMessages = 100;
+static const int expireConsoleMessagesStep = 10;
 
 InspectorConsoleAgent::InspectorConsoleAgent(AgentContext& context)
     : InspectorAgentBase(ASCIILiteral("Console"))
@@ -121,7 +121,7 @@ void InspectorConsoleAgent::addMessageToConsole(std::unique_ptr<ConsoleMessage>
         clearMessages(unused);
     }
 
-    addConsoleMessage(WTF::move(message));
+    addConsoleMessage(WTFMove(message));
 }
 
 void InspectorConsoleAgent::startTiming(const String& title)
@@ -196,7 +196,7 @@ void InspectorConsoleAgent::addConsoleMessage(std::unique_ptr<ConsoleMessage> co
             m_previousMessage->updateRepeatCountInConsole(*m_frontendDispatcher);
     } else {
         m_previousMessage = consoleMessage.get();
-        m_consoleMessages.append(WTF::move(consoleMessage));
+        m_consoleMessages.append(WTFMove(consoleMessage));
         if (m_enabled)
             m_previousMessage->addToFrontend(*m_frontendDispatcher, m_injectedScriptManager, true);
     }