Use C++11 and later features to reduce code duplication and simplify the code in HitTestLocation.h. This will make it easier for me to add a new rect-based location constructor in the future.
<rdar://problem/59815136>
Created attachment 391765 [details] Patch
Comment on attachment 391765 [details] Patch Clearing flags on attachment: 391765 Committed r257502: <https://trac.webkit.org/changeset/257502>
All reviewed patches have been landed. Closing bug.
Comment on attachment 391765 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391765&action=review > Source/WebCore/rendering/HitTestLocation.cpp:-56 > - , m_isRectBased(true) This is wrong. This needs to be set to true.
(In reply to Daniel Bates from comment #5) > Comment on attachment 391765 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=391765&action=review > > > Source/WebCore/rendering/HitTestLocation.cpp:-56 > > - , m_isRectBased(true) > > This is wrong. This needs to be set to true. Fixed in bug #208947.