| Index: webkit/port/bindings/v8/v8_nodefilter.cpp
|
| ===================================================================
|
| --- webkit/port/bindings/v8/v8_nodefilter.cpp (revision 4425)
|
| +++ webkit/port/bindings/v8/v8_nodefilter.cpp (working copy)
|
| @@ -58,7 +58,7 @@
|
|
|
| if (!m_filter->IsFunction()) return NodeFilter::FILTER_ACCEPT;
|
|
|
| - ExceptionCatcher exception_catcher(exception_context);
|
| + v8::TryCatch exception_catcher;
|
|
|
| v8::Handle<v8::Object> this_obj = v8::Context::GetCurrent()->Global();
|
| v8::Handle<v8::Function> callback =
|
| @@ -73,7 +73,8 @@
|
| proxy->CallFunction(callback, this_obj, 1, args);
|
| delete[] args;
|
|
|
| - if (exception_context->hadException()) {
|
| + if (exception_catcher.HasCaught()) {
|
| + exception_context->setData(exception_catcher.Exception());
|
| return NodeFilter::FILTER_REJECT;
|
| }
|
|
|
|
|