Commit e65252dc authored by paroga@webkit.org's avatar paroga@webkit.org
Browse files

Remove String::operator+=()

https://bugs.webkit.org/show_bug.cgi?id=96172

Reviewed by Benjamin Poulain.

Source/WebCore:

Replace the last usage with String::append() in Gtk.

* platform/gtk/GtkInputMethodFilter.cpp:
(WebCore::GtkInputMethodFilter::handleCommit):

Source/WTF:

* wtf/Platform.h:
* wtf/text/WTFString.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 44e841ff
2012-09-24 Patrick Gansterer <paroga@webkit.org>
Remove String::operator+=()
https://bugs.webkit.org/show_bug.cgi?id=96172
Reviewed by Benjamin Poulain.
* wtf/Platform.h:
* wtf/text/WTFString.h:
2012-09-24 Benjamin Poulain <benjamin@webkit.org> 2012-09-24 Benjamin Poulain <benjamin@webkit.org>
Add support for query encoding to WTFURL Add support for query encoding to WTFURL
......
...@@ -1181,10 +1181,6 @@ ...@@ -1181,10 +1181,6 @@
#define WTF_USE_ZLIB 1 #define WTF_USE_ZLIB 1
#endif #endif
#if PLATFORM(GTK)
#define WTF_DEPRECATED_STRING_OPERATORS
#endif
#if PLATFORM(QT) #if PLATFORM(QT)
#include <qglobal.h> #include <qglobal.h>
#if defined(QT_OPENGL_ES_2) && !defined(WTF_USE_OPENGL_ES_2) #if defined(QT_OPENGL_ES_2) && !defined(WTF_USE_OPENGL_ES_2)
......
...@@ -467,10 +467,6 @@ QDataStream& operator<<(QDataStream& stream, const String& str); ...@@ -467,10 +467,6 @@ QDataStream& operator<<(QDataStream& stream, const String& str);
QDataStream& operator>>(QDataStream& stream, String& str); QDataStream& operator>>(QDataStream& stream, String& str);
#endif #endif
#ifdef WTF_DEPRECATED_STRING_OPERATORS
inline String& operator+=(String& a, const String& b) { a.append(b); return a; }
#endif
inline bool operator==(const String& a, const String& b) { return equal(a.impl(), b.impl()); } inline bool operator==(const String& a, const String& b) { return equal(a.impl(), b.impl()); }
inline bool operator==(const String& a, const LChar* b) { return equal(a.impl(), b); } inline bool operator==(const String& a, const LChar* b) { return equal(a.impl(), b); }
inline bool operator==(const String& a, const char* b) { return equal(a.impl(), reinterpret_cast<const LChar*>(b)); } inline bool operator==(const String& a, const char* b) { return equal(a.impl(), reinterpret_cast<const LChar*>(b)); }
......
2012-09-24 Patrick Gansterer <paroga@webkit.org>
Remove String::operator+=()
https://bugs.webkit.org/show_bug.cgi?id=96172
Reviewed by Benjamin Poulain.
Replace the last usage with String::append() in Gtk.
* platform/gtk/GtkInputMethodFilter.cpp:
(WebCore::GtkInputMethodFilter::handleCommit):
2012-09-24 Mark Pilgrim <pilgrim@chromium.org> 2012-09-24 Mark Pilgrim <pilgrim@chromium.org>
   
[Chromium][Mac] Remove loadFont from PlatformSupport [Chromium][Mac] Remove loadFont from PlatformSupport
...@@ -292,7 +292,7 @@ void GtkInputMethodFilter::handleCommit(const char* compositionString) ...@@ -292,7 +292,7 @@ void GtkInputMethodFilter::handleCommit(const char* compositionString)
if (!m_enabled) if (!m_enabled)
return; return;
m_confirmedComposition += String::fromUTF8(compositionString); m_confirmedComposition.append(String::fromUTF8(compositionString));
// If the commit was triggered outside of a key event, just send // If the commit was triggered outside of a key event, just send
// the IME event now. If we are handling a key event, we'll decide // the IME event now. If we are handling a key event, we'll decide
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment