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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comments from tdresser Created 5 years, 6 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/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 94d913e3b646f7a8378be4998521cc41f1e66b48..d176d662f8b37741caa38b4dfc2838e55764a518 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -957,6 +957,7 @@ void FrameView::layout()
// to clear the roots and do the layout from the layoutView.
if (layoutView()->needsLayout())
clearLayoutSubtreeRootsAndMarkContainingBlocks();
+ layoutView()->clearHitTestCache();
bool inSubtreeLayout = isSubtreeLayout();

Powered by Google App Engine
This is Rietveld 408576698