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

Unified Diff: Source/core/dom/Document.cpp

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust comments in HitTestCache.h 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/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 5de448e994c44c58bd1dff385ebd6ee67c227640..cc453583f23f426ce98a405a7cd7204ad5117aea 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1744,6 +1744,7 @@ void Document::updateLayoutTree(StyleRecalcChange change)
if (m_focusedElement && !m_focusedElement->isFocusable())
clearFocusedElementSoon();
+ layoutView()->clearHitTestCache();
ASSERT(!m_timeline->hasOutdatedAnimation());
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/TreeScope.h » ('j') | Source/core/dom/TreeScope.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698