Chromium Code Reviews| Index: cc/resources/texture_compressor.h |
| diff --git a/cc/resources/texture_compressor.h b/cc/resources/texture_compressor.h |
| index 18faa40bac5d1dfe547fb7c2249548049f68fbcd..53f9d3cbd545805d15a9425a2b618729d3f716d6 100644 |
| --- a/cc/resources/texture_compressor.h |
| +++ b/cc/resources/texture_compressor.h |
| @@ -7,6 +7,7 @@ |
| #include <stdint.h> |
| +#include "base/cpu.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "cc/base/cc_export.h" |
| @@ -38,6 +39,7 @@ class CC_EXPORT TextureCompressor { |
| TextureCompressor() {} |
| private: |
| + static base::CPU cpu; |
|
robert.bradford
2015/04/28 12:23:19
static initialiser here (of non-POD type) is a big
|
| DISALLOW_COPY_AND_ASSIGN(TextureCompressor); |
| }; |