summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/PlatformBridge.h
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2011-01-21 15:09:09 -0800
committerShimeng (Simon) Wang <swang@google.com>2011-01-24 12:18:08 -0800
commit6e8da6e69536dd9fd167ad0f7a429c43cea6e6d2 (patch)
treefc3f5b209fb4cf18b2f6792148ec0bd6250fba82 /WebCore/platform/android/PlatformBridge.h
parent908703e420f4931f74527aaeb3d5faabdd66c28a (diff)
downloadexternal_webkit-6e8da6e69536dd9fd167ad0f7a429c43cea6e6d2.zip
external_webkit-6e8da6e69536dd9fd167ad0f7a429c43cea6e6d2.tar.gz
external_webkit-6e8da6e69536dd9fd167ad0f7a429c43cea6e6d2.tar.bz2
Use platform bridge to control high usage delta MB.
This change gives flexibility to change that value in Java side. issue: 3317722 Change-Id: I71a548871783cc604e0daec63e6bbfb26ecc1e1f
Diffstat (limited to 'WebCore/platform/android/PlatformBridge.h')
-rw-r--r--WebCore/platform/android/PlatformBridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/android/PlatformBridge.h b/WebCore/platform/android/PlatformBridge.h
index c67c865..7d54ae5 100644
--- a/WebCore/platform/android/PlatformBridge.h
+++ b/WebCore/platform/android/PlatformBridge.h
@@ -145,6 +145,7 @@ public:
// Memory details for V8 GC
static int lowMemoryUsageMB();
static int highMemoryUsageMB();
+ static int highUsageDeltaMB();
static int memoryUsageMB();
static int actualMemoryUsageMB();
};