| Index: bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| ===================================================================
|
| --- bindings/v8/custom/V8XMLHttpRequestCustom.cpp (revision 46639)
|
| +++ bindings/v8/custom/V8XMLHttpRequestCustom.cpp (working copy)
|
| @@ -43,8 +43,8 @@
|
| #include "WorkerContextExecutionProxy.h"
|
|
|
| namespace WebCore {
|
| -
|
| -PassRefPtr<EventListener> getEventListener(XMLHttpRequest* xmlHttpRequest, v8::Local<v8::Value> value, bool findOnly)
|
| +
|
| +static PassRefPtr<EventListener> getEventListener(XMLHttpRequest* xmlHttpRequest, v8::Local<v8::Value> value, bool findOnly)
|
| {
|
| #if ENABLE(WORKERS)
|
| WorkerContextExecutionProxy* workerContextProxy = WorkerContextExecutionProxy::retrieve();
|
| @@ -121,7 +121,7 @@
|
| // Clear the listener.
|
| xmlHttpRequest->setOnerror(0);
|
| } else {
|
| - RefPtr<EventListener> listener = getEventListener(xmlHttpRequest, value, false);
|
| + RefPtr<EventListener> listener = getEventListener(xmlHttpRequest, value, false);
|
| if (listener) {
|
| xmlHttpRequest->setOnerror(listener);
|
| createHiddenDependency(info.Holder(), value, V8Custom::kXMLHttpRequestCacheIndex);
|
|
|