Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: Source/core/rendering/EllipsisBox.cpp

Issue 869813003: Implement elementsFromPoint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix typeo Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/EllipsisBox.cpp
diff --git a/Source/core/rendering/EllipsisBox.cpp b/Source/core/rendering/EllipsisBox.cpp
index 1af8374d047557e901198679a2abcdb7d955cb8d..c06a2cca26b246c8aa25ece8612c43e509d772b3 100644
--- a/Source/core/rendering/EllipsisBox.cpp
+++ b/Source/core/rendering/EllipsisBox.cpp
@@ -88,7 +88,7 @@ bool EllipsisBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& resu
renderer().updateHitTestResult(result, locationInContainer.point() - toLayoutSize(adjustedLocation));
// FIXME: the call to rawValue() below is temporary and should be removed once the transition
// to LayoutUnit-based types is complete (crbug.com/321237)
- if (!result.addNodeToRectBasedTestResult(renderer().node(), request, locationInContainer, boundsRect.rawValue()))
+ if (!result.addNodeToListBasedTestResult(renderer().node(), request, locationInContainer, boundsRect.rawValue()))
return true;
}

Powered by Google App Engine
This is Rietveld 408576698