Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23e166fc9183092b4046f160225aba1e07f38fe4
      
https://github.com/WebKit/WebKit/commit/23e166fc9183092b4046f160225aba1e07f38fe4
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ElementTextPreview.mm

  Log Message:
  -----------
  Fix a compile warning in ElementTextPreview.mm with stable/202407232 branch 
of clang
https://bugs.webkit.org/show_bug.cgi?id=288904

Reviewed by Abrar Rahman Protyasha.

Fix the following warning generated for the line 54 of ElementTextPreview.mm
with stable/202407232 branch of clang.

gtest.h:1379:11: error: comparison of distinct pointer types 
('id<NSCollectionLayoutContainer>' and 'TestWKWebView *') 
[-Werror,-Wcompare-distinct-pointer-types]
 1379 |   if (lhs == rhs) {
      |       ~~~ ^  ~~~

* Tools/TestWebKitAPI/Tests/WebKitCocoa/ElementTextPreview.mm:
(TestWebKitAPI::TEST(ElementTextPreview, PreviewForElement)):

Canonical link: https://commits.webkit.org/291431@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to