diff options
Diffstat (limited to 'webkit/glue/chromium_bridge_impl.cc')
-rw-r--r-- | webkit/glue/chromium_bridge_impl.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc index aa7f994..8ebba8d 100644 --- a/webkit/glue/chromium_bridge_impl.cc +++ b/webkit/glue/chromium_bridge_impl.cc @@ -490,11 +490,8 @@ void ChromiumBridge::incrementStatsCounter(const char* name) { #if USE(V8) // TODO(evanm): remove this conversion thunk once v8 supports plain char* // counter functions. -static int* CounterFunction(const wchar_t* name) { - return StatsTable::FindLocation(WideToASCII(name).c_str()); -} void ChromiumBridge::initV8CounterFunction() { - v8::V8::SetCounterFunction(CounterFunction); + v8::V8::SetCounterFunction(StatsTable::FindLocation); } #endif |