Index: Source/core/layout/HitTestCache.cpp |
diff --git a/Source/core/layout/HitTestCache.cpp b/Source/core/layout/HitTestCache.cpp |
index 8ab3377278f84a396d7067cc8e9b4174c35650ab..8ae19afdf23557d832fa78fea86c0c1231542a82 100644 |
--- a/Source/core/layout/HitTestCache.cpp |
+++ b/Source/core/layout/HitTestCache.cpp |
@@ -53,11 +53,6 @@ void HitTestCache::addCachedResult(const HitTestResult& result, uint64_t domTree |
if (!result.isCacheable()) |
return; |
- // If the result was a hit test on an LayoutPart and the request allowed |
- // querying of the layout part; then the part hasn't been loaded yet. |
- if (result.isOverWidget() && result.hitTestRequest().allowsChildFrameContent()) |
- return; |
- |
// For now don't support rect based or list based requests. |
if (result.hitTestLocation().isRectBasedTest() || result.hitTestRequest().listBased()) |
return; |