Title: [258287] trunk/Source/WebCore
Revision
258287
Author
dba...@webkit.org
Date
2020-03-11 14:57:33 -0700 (Wed, 11 Mar 2020)

Log Message

REGRESSION (r257502): HitTestLocation::HitTestLocation(const FloatPoint&, const FloatQuad&) should set m_isRectBased to true
https://bugs.webkit.org/show_bug.cgi?id=208947

Reviewed by Wenson Hsieh.

Partial revert of r257502. I accidentally removed initialization of m_isRectBased when refactoring
the code in HitTestLocation::HitTestLocation(const FloatPoint&, const FloatQuad&). Revert this to
be faithful to the code before my change.

* rendering/HitTestLocation.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (258286 => 258287)


--- trunk/Source/WebCore/ChangeLog	2020-03-11 21:43:04 UTC (rev 258286)
+++ trunk/Source/WebCore/ChangeLog	2020-03-11 21:57:33 UTC (rev 258287)
@@ -1,3 +1,16 @@
+2020-03-11  Daniel Bates  <daba...@apple.com>
+
+        REGRESSION (r257502): HitTestLocation::HitTestLocation(const FloatPoint&, const FloatQuad&) should set m_isRectBased to true
+        https://bugs.webkit.org/show_bug.cgi?id=208947
+
+        Reviewed by Wenson Hsieh.
+
+        Partial revert of r257502. I accidentally removed initialization of m_isRectBased when refactoring
+        the code in HitTestLocation::HitTestLocation(const FloatPoint&, const FloatQuad&). Revert this to
+        be faithful to the code before my change.
+
+        * rendering/HitTestLocation.cpp:
+
 2020-03-11  Myles C. Maxfield  <mmaxfi...@apple.com>
 
         icloud.com Notes text in titles and headings is distorted

Modified: trunk/Source/WebCore/rendering/HitTestLocation.cpp (258286 => 258287)


--- trunk/Source/WebCore/rendering/HitTestLocation.cpp	2020-03-11 21:43:04 UTC (rev 258286)
+++ trunk/Source/WebCore/rendering/HitTestLocation.cpp	2020-03-11 21:57:33 UTC (rev 258287)
@@ -44,6 +44,7 @@
     , m_boundingBox { quad.enclosingBoundingBox() }
     , m_transformedPoint { point }
     , m_transformedRect { quad }
+    , m_isRectBased { true }
     , m_isRectilinear { quad.isRectilinear() }
 {
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to