summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/page
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-11-09 21:51:01 +0000
committerKristian Monsen <kristianm@google.com>2011-11-17 13:48:02 +0000
commitb359438e11520b3e3b6801ad1280e1bdef2b986c (patch)
tree66c6170430bb1986c1d4e427bc3734e2712de3b7 /Source/WebCore/page
parent22e6e8f6e1a5a5e677269d6f7895ff49b1a8f41b (diff)
downloadexternal_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/page')
-rw-r--r--Source/WebCore/page/FrameView.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp
index 49a7d0c..a79910b 100644
--- a/Source/WebCore/page/FrameView.cpp
+++ b/Source/WebCore/page/FrameView.cpp
@@ -62,11 +62,6 @@
#include "TextResourceDecoder.h"
#include <wtf/CurrentTime.h>
-#ifdef ANDROID_INSTRUMENT
-#include "FrameTree.h"
-#include "TimeCounter.h"
-#endif
-
#if USE(ACCELERATED_COMPOSITING)
#include "RenderLayerCompositor.h"
#endif
@@ -872,11 +867,6 @@ void FrameView::layout(bool allowSubtree)
return;
}
-#ifdef ANDROID_INSTRUMENT
- if (!m_frame->tree() || !m_frame->tree()->parent())
- android::TimeCounter::start(android::TimeCounter::LayoutTimeCounter);
-#endif
-
m_nestedLayoutCount++;
if (!m_layoutRoot) {
@@ -1014,10 +1004,6 @@ void FrameView::layout(bool allowSubtree)
updateDashboardRegions();
#endif
-#ifdef ANDROID_INSTRUMENT
- if (!m_frame->tree()->parent())
- android::TimeCounter::record(android::TimeCounter::LayoutTimeCounter, __FUNCTION__);
-#endif
ASSERT(!root->needsLayout());
updateCanBlitOnScrollRecursively();