summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSPopStateEventCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSPopStateEventCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSPopStateEventCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSPopStateEventCustom.cpp b/WebCore/bindings/js/JSPopStateEventCustom.cpp
index 3f5fd7e..ce430ab 100644
--- a/WebCore/bindings/js/JSPopStateEventCustom.cpp
+++ b/WebCore/bindings/js/JSPopStateEventCustom.cpp
@@ -41,7 +41,7 @@ JSValue JSPopStateEvent::initPopStateEvent(ExecState* exec, const ArgList& args)
RefPtr<SerializedScriptValue> stateObjectArg = SerializedScriptValue::create(exec, args.at(3));
PopStateEvent* event = static_cast<PopStateEvent*>(impl());
- event->initPopStateEvent(typeArg, canBubbleArg, cancelableArg, stateObjectArg.release());
+ event->initPopStateEvent(ustringToAtomicString(typeArg), canBubbleArg, cancelableArg, stateObjectArg.release());
return jsUndefined();
}