summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/bindings/v8/V8DOMWindowShell.cpp4
-rw-r--r--WebKit/android/WebCoreSupport/V8Counters.cpp2
-rw-r--r--WebKit/android/WebCoreSupport/V8Counters.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/V8DOMWindowShell.cpp b/WebCore/bindings/v8/V8DOMWindowShell.cpp
index 02135bf..77e239a 100644
--- a/WebCore/bindings/v8/V8DOMWindowShell.cpp
+++ b/WebCore/bindings/v8/V8DOMWindowShell.cpp
@@ -69,6 +69,10 @@
#include <wtf/StringExtras.h>
#include <wtf/UnusedParam.h>
+#ifde ANDROID_INSTRUMENT
+#include "TimeCounter.h"
+#endif
+
namespace WebCore {
static void handleFatalErrorInV8()
diff --git a/WebKit/android/WebCoreSupport/V8Counters.cpp b/WebKit/android/WebCoreSupport/V8Counters.cpp
index c62efb9..7f3f3ad 100644
--- a/WebKit/android/WebCoreSupport/V8Counters.cpp
+++ b/WebKit/android/WebCoreSupport/V8Counters.cpp
@@ -25,7 +25,7 @@
#if USE(V8)
-#ifdef ANROID_INSTRUMENT
+#ifdef ANDROID_INSTRUMENT
#define LOG_TAG "WebCore"
diff --git a/WebKit/android/WebCoreSupport/V8Counters.h b/WebKit/android/WebCoreSupport/V8Counters.h
index dcce068..499b856 100644
--- a/WebKit/android/WebCoreSupport/V8Counters.h
+++ b/WebKit/android/WebCoreSupport/V8Counters.h
@@ -32,6 +32,7 @@
#include <PlatformString.h>
#include <v8.h>
+#include <wtf/HashMap.h>
namespace WebCore {