Index: base/memory/singleton_unittest.cc |
diff --git a/base/memory/singleton_unittest.cc b/base/memory/singleton_unittest.cc |
index a15145c8747145cb3f6e6774890307cc0fa46794..3a275cb57e9fcb0059707a0bb7a13ef62014c32a 100644 |
--- a/base/memory/singleton_unittest.cc |
+++ b/base/memory/singleton_unittest.cc |
@@ -276,17 +276,20 @@ TEST_F(SingletonTest, Alignment) { |
// ensure proper alignment of the static data. |
AlignedTestSingleton<int32_t>* align4 = |
AlignedTestSingleton<int32_t>::GetInstance(); |
+ AlignedTestSingleton<AlignedMemory<8, 8>>* align8 = |
+ AlignedTestSingleton<AlignedMemory<8, 8>>::GetInstance(); |
+ AlignedTestSingleton<AlignedMemory<16, 16>>* align16 = |
+ AlignedTestSingleton<AlignedMemory<16, 16>>::GetInstance(); |
AlignedTestSingleton<AlignedMemory<32, 32> >* align32 = |
AlignedTestSingleton<AlignedMemory<32, 32> >::GetInstance(); |
- AlignedTestSingleton<AlignedMemory<128, 128> >* align128 = |
- AlignedTestSingleton<AlignedMemory<128, 128> >::GetInstance(); |
- AlignedTestSingleton<AlignedMemory<4096, 4096> >* align4096 = |
- AlignedTestSingleton<AlignedMemory<4096, 4096> >::GetInstance(); |
+ AlignedTestSingleton<AlignedMemory<64, 64>>* align64 = |
+ AlignedTestSingleton<AlignedMemory<64, 64>>::GetInstance(); |
EXPECT_ALIGNED(align4, 4); |
+ EXPECT_ALIGNED(align8, 8); |
+ EXPECT_ALIGNED(align16, 16); |
EXPECT_ALIGNED(align32, 32); |
- EXPECT_ALIGNED(align128, 128); |
- EXPECT_ALIGNED(align4096, 4096); |
+ EXPECT_ALIGNED(align64, 64); |
} |
} // namespace |