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

Unified Diff: cc/base/contiguous_container.h

Issue 2257323002: Disable CFI on a few src/cc methods for perf reasons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 4 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 | « base/compiler_specific.h ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/contiguous_container.h
diff --git a/cc/base/contiguous_container.h b/cc/base/contiguous_container.h
index 2d877a16adc60e96a78d8fac937dd3e48333da9e..c876508cff0ba20dba1a6aad811d25595c8265c1 100644
--- a/cc/base/contiguous_container.h
+++ b/cc/base/contiguous_container.h
@@ -130,6 +130,7 @@ class ContiguousContainer : public ContiguousContainerBase {
ContiguousContainer(size_t max_object_size, size_t initial_size_bytes)
: ContiguousContainerBase(Align(max_object_size), initial_size_bytes) {}
+ DISABLE_CFI_PERF
~ContiguousContainer() {
for (auto& element : *this) {
// MSVC incorrectly reports this variable as unused.
« no previous file with comments | « base/compiler_specific.h ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698