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

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

Issue 1176183003: Oilpan: tidy up after r197233. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/HitTestResult.h
diff --git a/Source/core/layout/HitTestResult.h b/Source/core/layout/HitTestResult.h
index a65add09507a6928294b1f9b836c7c95c1538583..494211c65bca095166a3bcebd72efe2a317bf191 100644
--- a/Source/core/layout/HitTestResult.h
+++ b/Source/core/layout/HitTestResult.h
@@ -173,16 +173,6 @@ private:
} // namespace blink
-#if ENABLE(OILPAN)
-// TODO(sof): the trait override/specialization is needed by HitTestCache's
-// HeapVector<> to handle unused slots. It is not correct for HitTestResult
-// in the wider sense of what canInitializeWithMemset provides, so fix this
-// by introducing a trait that encompasses "unused slot" handling and use it
-// here instead.
-//
-// Until that time, make this trait specialization conditional on OILPAN to
-// limit exposure.
-WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::HitTestResult);
-#endif
+WTF_ALLOW_CLEAR_UNUSED_SLOTS_WITH_MEM_FUNCTIONS(blink::HitTestResult);
#endif // HitTestResult_h
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698