summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/memory_coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/memory_coordinator.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/memory_coordinator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/platform/memory_coordinator.h b/chromium/third_party/blink/renderer/platform/memory_coordinator.h
index b652a681620..7ea494e7255 100644
--- a/chromium/third_party/blink/renderer/platform/memory_coordinator.h
+++ b/chromium/third_party/blink/renderer/platform/memory_coordinator.h
@@ -38,7 +38,7 @@ class PLATFORM_EXPORT MemoryCoordinator final
static MemoryCoordinator& Instance();
// Whether the device Blink runs on is a low-end device.
- // Can be overridden in layout tests via internals.
+ // Can be overridden in web tests via internals.
static bool IsLowEndDevice();
// Returns true when available memory is low.
@@ -52,6 +52,8 @@ class PLATFORM_EXPORT MemoryCoordinator final
// the heap size.
static void Initialize();
+ MemoryCoordinator();
+
void RegisterThread(Thread*) LOCKS_EXCLUDED(threads_mutex_);
void UnregisterThread(Thread*) LOCKS_EXCLUDED(threads_mutex_);
@@ -73,8 +75,6 @@ class PLATFORM_EXPORT MemoryCoordinator final
static void SetIsLowEndDeviceForTesting(bool);
- MemoryCoordinator();
-
void ClearMemory();
static void ClearThreadSpecificMemory();