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

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

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix lifetime issue with Internals::m_currentTouchEventRects Created 7 years, 5 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/RenderInline.cpp
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
index 81a8bdc8c24e4c956c7f3216b8e9951949481428..2158572cd084e4d0a97017c2b0a885e6217b6c30 100644
--- a/Source/core/rendering/RenderInline.cpp
+++ b/Source/core/rendering/RenderInline.cpp
@@ -1383,6 +1383,12 @@ void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
}
}
+void RenderInline::computeOwnHitTestRects(Vector<IntRect>& rects, const LayoutPoint& layerOffset) const
+{
+ AbsoluteRectsGeneratorContext context(rects, layerOffset);
+ generateLineBoxRects(context);
+}
+
void RenderInline::paintOutline(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
if (!hasOutline())

Powered by Google App Engine
This is Rietveld 408576698