Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: bindings/v8/custom/V8XMLHttpRequestCustom.cpp

Issue 160590: A patch for http://crbug.com/17400... (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/v8/custom/V8NodeCustom.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « bindings/v8/custom/V8NodeCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698