summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-07-01 09:59:08 -0700
committerGrace Kloba <klobag@google.com>2009-07-01 09:59:08 -0700
commitb9e110b536fec5900ef1ea3ea99789d937eba5b8 (patch)
treef8712458f1d3244a0450dd83a8905247c71defd5 /WebKit
parentd2d04a14cf7fade0c772520daf5bbdfb61d60473 (diff)
downloadexternal_webkit-b9e110b536fec5900ef1ea3ea99789d937eba5b8.zip
external_webkit-b9e110b536fec5900ef1ea3ea99789d937eba5b8.tar.gz
external_webkit-b9e110b536fec5900ef1ea3ea99789d937eba5b8.tar.bz2
Remove JavaScript node size in the instrumentation as it is using arena now. Added JSC namespace for the TimeCounter.
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/TimeCounter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/TimeCounter.cpp b/WebKit/android/TimeCounter.cpp
index 9e8f432..a8de243 100644
--- a/WebKit/android/TimeCounter.cpp
+++ b/WebKit/android/TimeCounter.cpp
@@ -45,6 +45,7 @@
using namespace WebCore;
using namespace WTF;
+using namespace JSC;
namespace android {
@@ -119,7 +120,6 @@ void TimeCounter::report(const KURL& url, int live, int dead, size_t arenaSize)
Heap::Statistics jsHeapStatistics = JSDOMWindow::commonJSGlobalData()->heap.statistics();
LOGD("Current JavaScript heap size is %d and has %d bytes free",
jsHeapStatistics.size, jsHeapStatistics.free);
- LOGD("Current JavaScript nodes use %d bytes", JSC::Node::reportJavaScriptNodesSize());
#endif
LOGD("Current CSS styles use %d bytes", StyleBase::reportStyleSize());
LOGD("Current DOM nodes use %d bytes", WebCore::Node::reportDOMNodesSize());