summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 21:24:56 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 21:24:56 +0000
commita4bcf7d648a9dcbc75b989801f8126b080d55ba0 (patch)
tree32c133b62e58a0c51a48395b14a8083f08292996 /webkit/glue
parent516c89fd0d8ccc7a06838b0340745685bddf3853 (diff)
downloadchromium_src-a4bcf7d648a9dcbc75b989801f8126b080d55ba0.zip
chromium_src-a4bcf7d648a9dcbc75b989801f8126b080d55ba0.tar.gz
chromium_src-a4bcf7d648a9dcbc75b989801f8126b080d55ba0.tar.bz2
fix the JSC build
TBR=dglazkov Review URL: http://codereview.chromium.org/10417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/chromium_bridge_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc
index 9ba3624..bb8efd0 100644
--- a/webkit/glue/chromium_bridge_impl.cc
+++ b/webkit/glue/chromium_bridge_impl.cc
@@ -24,7 +24,9 @@
#include "base/stats_counters.h"
#include "base/string_util.h"
#include "base/trace_event.h"
+#if USE(V8)
#include <v8.h>
+#endif
#include "webkit/glue/chrome_client_impl.h"
#include "webkit/glue/glue_util.h"
#include "webkit/glue/scoped_clipboard_writer_glue.h"
@@ -302,9 +304,11 @@ void ChromiumBridge::incrementStatsCounter(const wchar_t* name) {
StatsCounter(name).Increment();
}
+#if USE(V8)
void ChromiumBridge::initV8CounterFunction() {
v8::V8::SetCounterFunction(StatsTable::FindLocation);
}
+#endif
// Trace Event ----------------------------------------------------------------
void ChromiumBridge::traceEventBegin(const char* name,