Chromium Code Reviews| 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 |
|
danakj
2016/08/26 22:18:12
One question tho I didn't understand, why is this
krasin1
2016/08/26 22:27:42
Replied as a top-level comment (sorry)
|
| ~ContiguousContainer() { |
| for (auto& element : *this) { |
| // MSVC incorrectly reports this variable as unused. |