diff options
author | Kristian Monsen <kristianm@google.com> | 2011-11-09 21:51:01 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-11-17 13:48:02 +0000 |
commit | b359438e11520b3e3b6801ad1280e1bdef2b986c (patch) | |
tree | 66c6170430bb1986c1d4e427bc3734e2712de3b7 /Source/WebCore/platform/Arena.cpp | |
parent | 22e6e8f6e1a5a5e677269d6f7895ff49b1a8f41b (diff) | |
download | external_webkit-b359438e11520b3e3b6801ad1280e1bdef2b986c.zip external_webkit-b359438e11520b3e3b6801ad1280e1bdef2b986c.tar.gz external_webkit-b359438e11520b3e3b6801ad1280e1bdef2b986c.tar.bz2 |
Removing ANDROID_INSTRUMENTATION code
This has not been used for years, and due to WebKit merges the
results are not accurate anymore.
The resulting code is cleaner, less likely to create merge conflicts,
and does not give the impression that this can be turned on and
it will still work.
Needs CL:
https://android-git.corp.google.com/g/#/c/148912/
Change-Id: I617ad00c103ab72038371a3203452d2ccec0e50c
Diffstat (limited to 'Source/WebCore/platform/Arena.cpp')
-rw-r--r-- | Source/WebCore/platform/Arena.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/WebCore/platform/Arena.cpp b/Source/WebCore/platform/Arena.cpp index 231e1b6..33980ed 100644 --- a/Source/WebCore/platform/Arena.cpp +++ b/Source/WebCore/platform/Arena.cpp @@ -255,16 +255,4 @@ void FinishArenaPool(ArenaPool *pool) FreeArenaList(pool, &pool->first, true); } -#ifdef ANDROID_INSTRUMENT -size_t ReportPoolSize(const ArenaPool* pool) -{ - size_t total = 0; - for (const Arena *a = &pool->first; a; a = a->next) - total += (a->limit - a->base); - for (const Arena *fa = arena_freelist; fa; fa = fa->next ) - total += (fa->limit - fa->base); - return total; -} -#endif - } |