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

Unified Diff: Source/core/layout/LayoutView.h

Issue 1185923002: Oilpan: fix build after r197063, move HitTestCache to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add TODO for HitTestResult's trait override 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
« no previous file with comments | « Source/core/layout/HitTestResult.h ('k') | Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutView.h
diff --git a/Source/core/layout/LayoutView.h b/Source/core/layout/LayoutView.h
index c09b84d7628076b0b080b9281411d0ad8c2f4876..610f882a6625d05394cf31665c30fc5acab8388e 100644
--- a/Source/core/layout/LayoutView.h
+++ b/Source/core/layout/LayoutView.h
@@ -58,7 +58,7 @@ public:
unsigned hitTestCount() const { return m_hitTestCount; }
unsigned hitTestCacheHits() const { return m_hitTestCacheHits; }
- void clearHitTestCache() { m_hitTestCache.clear(); }
+ void clearHitTestCache() { m_hitTestCache->clear(); }
virtual const char* name() const override { return "LayoutView"; }
@@ -218,7 +218,7 @@ private:
unsigned m_hitTestCount;
unsigned m_hitTestCacheHits;
- HitTestCache m_hitTestCache;
+ OwnPtrWillBePersistent<HitTestCache> m_hitTestCache;
OwnPtrWillBePersistent<PendingSelection> m_pendingSelection;
};
« no previous file with comments | « Source/core/layout/HitTestResult.h ('k') | Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698