Title: [192100] trunk/Source/WebCore
- Revision
- 192100
- Author
- [email protected]
- Date
- 2015-11-06 05:07:32 -0800 (Fri, 06 Nov 2015)
Log Message
Suppress deprecated-declarations warning in WebCore/platform/URL.cpp
https://bugs.webkit.org/show_bug.cgi?id=150803
Reviewed by Alexey Proskuryakov.
* platform/URL.cpp:
(WebCore::appendEncodedHostname):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (192099 => 192100)
--- trunk/Source/WebCore/ChangeLog 2015-11-06 12:56:02 UTC (rev 192099)
+++ trunk/Source/WebCore/ChangeLog 2015-11-06 13:07:32 UTC (rev 192100)
@@ -1,3 +1,13 @@
+2015-11-06 Csaba Osztrogonác <[email protected]>
+
+ Suppress deprecated-declarations warning in WebCore/platform/URL.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=150803
+
+ Reviewed by Alexey Proskuryakov.
+
+ * platform/URL.cpp:
+ (WebCore::appendEncodedHostname):
+
2015-11-06 Carlos Garcia Campos <[email protected]>
[GStreamer] Do not use GThreadSafeMainLoopSource to send notifications to the main thread in MediaPlayerPrivateGStreamer
Modified: trunk/Source/WebCore/platform/URL.cpp (192099 => 192100)
--- trunk/Source/WebCore/platform/URL.cpp 2015-11-06 12:56:02 UTC (rev 192099)
+++ trunk/Source/WebCore/platform/URL.cpp 2015-11-06 13:07:32 UTC (rev 192100)
@@ -1693,8 +1693,17 @@
UChar hostnameBuffer[hostnameBufferLength];
UErrorCode error = U_ZERO_ERROR;
+
+#if COMPILER(GCC_OR_CLANG)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
int32_t numCharactersConverted = uidna_IDNToASCII(string.upconvertedCharacters(), string.length(), hostnameBuffer,
hostnameBufferLength, UIDNA_ALLOW_UNASSIGNED, 0, &error);
+#if COMPILER(GCC_OR_CLANG)
+#pragma GCC diagnostic pop
+#endif
+
if (error == U_ZERO_ERROR)
buffer.append(hostnameBuffer, numCharactersConverted);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes