Commit cb705455 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

[Qt] Deprecate String += operator

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

Patch by Lauro Neto <lauro.neto@openbossa.org> on 2012-09-06
Reviewed by Benjamin Poulain.

Source/WebCore:

Replaced String +=() with append.

* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::extraMediaControlsStyleSheet):

Source/WTF:

Remove Qt from WTF_DEPRECATED_STRING_OPERATORS guard.

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1acc443b
2012-09-06 Lauro Neto <lauro.neto@openbossa.org>
[Qt] Deprecate String += operator
https://bugs.webkit.org/show_bug.cgi?id=95895
Reviewed by Benjamin Poulain.
Remove Qt from WTF_DEPRECATED_STRING_OPERATORS guard.
* wtf/Platform.h:
2012-09-06 Michael Saboff <msaboff@apple.com>
ENH: Add Logging to StringImpl to track String Types
......
......@@ -1185,7 +1185,7 @@
#define WTF_USE_ZLIB 1
#endif
#if PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(WIN)
#if PLATFORM(GTK) || PLATFORM(WIN)
#define WTF_DEPRECATED_STRING_OPERATORS
#endif
......
2012-09-06 Lauro Neto <lauro.neto@openbossa.org>
[Qt] Deprecate String += operator
https://bugs.webkit.org/show_bug.cgi?id=95895
Reviewed by Benjamin Poulain.
Replaced String +=() with append.
* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::extraMediaControlsStyleSheet):
2012-09-06 Michael Saboff <msaboff@apple.com>
 
Add 8 bit string data path to TextRun
......@@ -539,7 +539,7 @@ String RenderThemeQt::extraMediaControlsStyleSheet()
String result = String(mediaControlsQtUserAgentStyleSheet, sizeof(mediaControlsQtUserAgentStyleSheet));
if (m_page && m_page->chrome()->requiresFullscreenForVideoPlayback())
result += String(mediaControlsQtFullscreenUserAgentStyleSheet, sizeof(mediaControlsQtFullscreenUserAgentStyleSheet));
result.append(String(mediaControlsQtFullscreenUserAgentStyleSheet, sizeof(mediaControlsQtFullscreenUserAgentStyleSheet)));
return result;
}
......
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