Title: [288722] trunk/Source/WebKit
Revision
288722
Author
grao...@webkit.org
Date
2022-01-27 22:51:10 -0800 (Thu, 27 Jan 2022)

Log Message

Remove unnecessary build-time branch in ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction()
https://bugs.webkit.org/show_bug.cgi?id=235729

Reviewed by Dean Jackson.

The whole file is wrapped in a #if ENABLE(ARKIT_INLINE_PREVIEW_MAC) statement already.

* WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm:
(WebKit::ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (288721 => 288722)


--- trunk/Source/WebKit/ChangeLog	2022-01-28 05:13:26 UTC (rev 288721)
+++ trunk/Source/WebKit/ChangeLog	2022-01-28 06:51:10 UTC (rev 288722)
@@ -1,3 +1,15 @@
+2022-01-27  Antoine Quint  <grao...@webkit.org>
+
+        Remove unnecessary build-time branch in ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction()
+        https://bugs.webkit.org/show_bug.cgi?id=235729
+
+        Reviewed by Dean Jackson.
+
+        The whole file is wrapped in a #if ENABLE(ARKIT_INLINE_PREVIEW_MAC) statement already.
+
+        * WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm:
+        (WebKit::ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction):
+
 2022-01-27  Megan Gardner  <megan_gard...@apple.com>
 
         DocumentContext gives empty rects for blank lines.

Modified: trunk/Source/WebKit/WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm (288721 => 288722)


--- trunk/Source/WebKit/WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm	2022-01-28 05:13:26 UTC (rev 288721)
+++ trunk/Source/WebKit/WebProcess/Model/mac/ARKitInlinePreviewModelPlayerMac.mm	2022-01-28 06:51:10 UTC (rev 288722)
@@ -179,10 +179,7 @@
 
 bool ARKitInlinePreviewModelPlayerMac::supportsMouseInteraction()
 {
-#if ENABLE(ARKIT_INLINE_PREVIEW_MAC)
     return true;
-#endif
-    return false;
 }
 
 void ARKitInlinePreviewModelPlayerMac::handleMouseDown(const LayoutPoint& flippedLocationInElement, MonotonicTime timestamp)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to