Try and fix the Qt build.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Mar 2009 05:19:07 +0000 (05:19 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Mar 2009 05:19:07 +0000 (05:19 +0000)
* platform/text/TextEncodingDetectorNone.cpp:
(WebCore::detectTextEncoding):

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

WebCore/ChangeLog
WebCore/platform/text/TextEncodingDetectorNone.cpp

index a2f9f97..41f614e 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-26  Mark Rowe  <mrowe@apple.com>
+
+        Try and fix the Qt build.
+
+        * platform/text/TextEncodingDetectorNone.cpp:
+        (WebCore::detectTextEncoding):
+
 2009-03-26  Eric Carlson  <eric.carlson@apple.com>
 
         Reviewed by Simon Fraser.
index 283d343..3b62bc5 100644 (file)
 #include "TextEncodingDetector.h"
 
 #include "TextEncoding.h"
-#include <wtf/UnusedParam.h>
 
 namespace WebCore {
 
-bool detectTextEncoding(const char* data, size_t len,
-                        const char* hintEncodingName,
-                        TextEncoding* detectedEncoding)
+bool detectTextEncoding(const char*, size_t, const char*, TextEncoding* detectedEncoding)
 {
-    UNUSED_PARAM(data)
-    UNUSED_PARAM(len)
-    UNUSED_PARAM(hintEncodingName)
-
     *detectedEncoding = TextEncoding();
     return false;
 }