Title: [268337] trunk/Tools
- Revision
- 268337
- Author
- commit-qu...@webkit.org
- Date
- 2020-10-11 19:15:23 -0700 (Sun, 11 Oct 2020)
Log Message
-Wdeprecated-declarations caused by WKTR using WKBundlePostSynchronousMessage
https://bugs.webkit.org/show_bug.cgi?id=217591
Patch by Michael Catanzaro <mcatanz...@gnome.org> on 2020-10-11
Reviewed by Darin Adler.
Use ALLOW_DEPRECATED_DECLARATIONS_BEGIN/END.
* WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(WTR::postSynchronousMessage):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (268336 => 268337)
--- trunk/Tools/ChangeLog 2020-10-12 02:14:45 UTC (rev 268336)
+++ trunk/Tools/ChangeLog 2020-10-12 02:15:23 UTC (rev 268337)
@@ -1,3 +1,15 @@
+2020-10-11 Michael Catanzaro <mcatanz...@gnome.org>
+
+ -Wdeprecated-declarations caused by WKTR using WKBundlePostSynchronousMessage
+ https://bugs.webkit.org/show_bug.cgi?id=217591
+
+ Reviewed by Darin Adler.
+
+ Use ALLOW_DEPRECATED_DECLARATIONS_BEGIN/END.
+
+ * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
+ (WTR::postSynchronousMessage):
+
2020-10-11 Darin Adler <da...@apple.com>
[macOS] Harden more build configurations against macOS versions 11 and higher as well as inclusion of patch versions
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h (268336 => 268337)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h 2020-10-12 02:14:45 UTC (rev 268336)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h 2020-10-12 02:15:23 UTC (rev 268337)
@@ -243,7 +243,9 @@
template<typename T> void postSynchronousMessage(const char* name, const WKRetainPtr<T>& value)
{
+ ALLOW_DEPRECATED_DECLARATIONS_BEGIN
WKBundlePostSynchronousMessage(InjectedBundle::singleton().bundle(), toWK(name).get(), value.get(), nullptr);
+ ALLOW_DEPRECATED_DECLARATIONS_END
}
template<typename T> void postPageMessage(const char* name, const WKRetainPtr<T>& value)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes