All pastes #1585993 Raw Edit

bandix

public text v1 · immutable
#1585993 ·published 2009-09-30 13:53 UTC
rendered paste body
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLogindex 0cdf1a9..17e0a57 100644--- a/WebCore/ChangeLog+++ b/WebCore/ChangeLog@@ -1,3 +1,13 @@+2009-09-28  Andras Becsi  <becsi.andras@stud.u-szeged.hu>++        Reviewed by NOBODY (OOPS!).++        [Qt] Fix TextCodecQt::decode method after r48752 not to return a null string if the length of the input is 0.+        This fixes https://bugs.webkit.org/show_bug.cgi?id=29736.++        * platform/text/qt/TextCodecQt.cpp:+        (WebCore::TextCodecQt::decode):+ 2009-09-29  Pavel Feldman  <pfeldman@chromium.org>          Reviewed by Timothy Hatcher.diff --git a/WebCore/platform/text/qt/TextCodecQt.cpp b/WebCore/platform/text/qt/TextCodecQt.cppindex e351522..a6cb8b1 100644--- a/WebCore/platform/text/qt/TextCodecQt.cpp+++ b/WebCore/platform/text/qt/TextCodecQt.cpp@@ -104,7 +104,7 @@ String TextCodecQt::decode(const char* bytes, size_t length, bool flush, bool /* #endif     const char* buf = bytes;     const char* end = buf + length;-    String unicode;+    String unicode("");      while (buf < end) {         int size = end - buf;