diff options
Diffstat (limited to 'Source/WebCore/bindings/v8/V8DOMWrapper.cpp')
-rw-r--r-- | Source/WebCore/bindings/v8/V8DOMWrapper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/v8/V8DOMWrapper.cpp b/Source/WebCore/bindings/v8/V8DOMWrapper.cpp index 2c4b9ff24..05c17ab03 100644 --- a/Source/WebCore/bindings/v8/V8DOMWrapper.cpp +++ b/Source/WebCore/bindings/v8/V8DOMWrapper.cpp @@ -54,10 +54,12 @@ #include "V8Proxy.h" #include "V8StyleSheet.h" #include "V8WorkerContextEventListener.h" +#include "V8XPathNSResolver.h" #include "WebGLContextAttributes.h" #include "WebGLUniformLocation.h" #include "WorkerContextExecutionProxy.h" #include "WrapperTypeInfo.h" +#include "XPathNSResolver.h" #include <algorithm> #include <utility> #include <v8-debug.h> @@ -259,7 +261,7 @@ bool V8DOMWrapper::isWrapperOfType(v8::Handle<v8::Value> value, WrapperTypeInfo* v8::Handle<v8::Value> V8DOMWrapper::convertEventTargetToV8Object(EventTarget* target, v8::Isolate* isolate) { if (!target) - return v8::Null(); + return v8NullWithCheck(isolate); AtomicString desiredInterface = target->interfaceName(); DOM_EVENT_TARGET_INTERFACES_FOR_EACH(TRY_TO_WRAP_WITH_INTERFACE) |