| Index: third_party/WebKit/Source/platform/heap/Heap.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| index 2722570e03b57ce1daa632727c86c2dfd9b09fee..8a414e3ec0378d68a144275f1cf59b6561e47c60 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "platform/heap/Heap.h"
|
|
|
| +#include "base/sys_info.h"
|
| #include "platform/Histogram.h"
|
| #include "platform/ScriptForbiddenScope.h"
|
| #include "platform/TraceEvent.h"
|
| @@ -174,6 +175,7 @@ void Heap::init()
|
| s_collectedWrapperCount = 0;
|
| s_partitionAllocSizeAtLastGC = WTF::Partitions::totalSizeOfCommittedPages();
|
| s_estimatedMarkingTimePerByte = 0.0;
|
| + s_isLowEndDevice = base::SysInfo::IsLowEndDevice();
|
| #if ENABLE(ASSERT)
|
| s_gcGeneration = 1;
|
| #endif
|
| @@ -725,6 +727,7 @@ size_t Heap::s_wrapperCountAtLastGC = 0;
|
| size_t Heap::s_collectedWrapperCount = 0;
|
| size_t Heap::s_partitionAllocSizeAtLastGC = 0;
|
| double Heap::s_estimatedMarkingTimePerByte = 0.0;
|
| +bool Heap::s_isLowEndDevice = false;
|
| #if ENABLE(ASSERT)
|
| uint16_t Heap::s_gcGeneration = 0;
|
| #endif
|
|
|