Title: [119248] trunk/Source/WebCore
Revision
119248
Author
[email protected]
Date
2012-06-01 10:04:06 -0700 (Fri, 01 Jun 2012)

Log Message

[Qt] Remove deprecated Q_GLOBAL_STATIC_WITH_INITIALIZER
https://bugs.webkit.org/show_bug.cgi?id=88100

Patch by Thiago Marcos P. Santos <[email protected]> on 2012-06-01
Reviewed by Tor Arne Vestbø.

It will be deprecated on Qt5.

* platform/text/qt/TextBreakIteratorInternalICUQt.cpp:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119247 => 119248)


--- trunk/Source/WebCore/ChangeLog	2012-06-01 17:02:00 UTC (rev 119247)
+++ trunk/Source/WebCore/ChangeLog	2012-06-01 17:04:06 UTC (rev 119248)
@@ -1,3 +1,15 @@
+2012-06-01  Thiago Marcos P. Santos  <[email protected]>
+
+        [Qt] Remove deprecated Q_GLOBAL_STATIC_WITH_INITIALIZER
+        https://bugs.webkit.org/show_bug.cgi?id=88100
+
+        Reviewed by Tor Arne Vestbø.
+
+        It will be deprecated on Qt5.
+
+        * platform/text/qt/TextBreakIteratorInternalICUQt.cpp:
+        (WebCore):
+
 2012-06-01  Zeno Albisser  <[email protected]>
 
         Make TextureMapper work with GraphicsSurface.

Modified: trunk/Source/WebCore/platform/text/qt/TextBreakIteratorInternalICUQt.cpp (119247 => 119248)


--- trunk/Source/WebCore/platform/text/qt/TextBreakIteratorInternalICUQt.cpp	2012-06-01 17:02:00 UTC (rev 119247)
+++ trunk/Source/WebCore/platform/text/qt/TextBreakIteratorInternalICUQt.cpp	2012-06-01 17:04:06 UTC (rev 119248)
@@ -27,7 +27,7 @@
 
 namespace WebCore {
 
-Q_GLOBAL_STATIC_WITH_INITIALIZER(QByteArray, cachedSystemLocale, {*x = QLocale::system().name().toLatin1();})
+Q_GLOBAL_STATIC_WITH_ARGS(QByteArray, cachedSystemLocale, (QLocale::system().name().toLatin1()))
 
 const char* currentSearchLocaleID()
 {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to