From a4bcf7d648a9dcbc75b989801f8126b080d55ba0 Mon Sep 17 00:00:00 2001 From: "erikkay@google.com" Date: Fri, 14 Nov 2008 21:24:56 +0000 Subject: 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 --- webkit/glue/chromium_bridge_impl.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webkit/glue/chromium_bridge_impl.cc') 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 +#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, -- cgit v1.1