[Qt] Fix build after r156487.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Sep 2013 22:19:07 +0000 (22:19 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Sep 2013 22:19:07 +0000 (22:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=121984

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-09-26
Reviewed by Anders Carlsson.

* bridge/qt/qt_runtime.cpp:
(JSC::Bindings::QtRuntimeMethod::jsObjectRef):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bridge/qt/qt_runtime.cpp

index 575993e866900be19e208b95cc068cde1ea628f8..c2e4ffabbf370c16bcb13ac3113aa2f52b97c818 100644 (file)
@@ -1,3 +1,13 @@
+2013-09-26  Julien Brianceau  <jbriance@cisco.com>
+
+        [Qt] Fix build after r156487.
+        https://bugs.webkit.org/show_bug.cgi?id=121984
+
+        Reviewed by Anders Carlsson.
+
+        * bridge/qt/qt_runtime.cpp:
+        (JSC::Bindings::QtRuntimeMethod::jsObjectRef):
+
 2013-09-26  Antti Koivisto  <antti@apple.com>
 
         Don't mutate style in RenderCombineText
index 73bcd4de0f5bb96fd9f92367f6d78ea3b0f37cd3..47e97b9885d6508905da7116fc4d5e000331e1b0 100644 (file)
@@ -1301,7 +1301,7 @@ JSObjectRef QtRuntimeMethod::jsObjectRef(JSContextRef context, JSValueRef* excep
     JSObjectSetProperty(context, object, connectStr, connectFunction, attributes, exception);
     JSObjectSetProperty(context, object, disconnectStr, disconnectFunction, attributes, exception);
 
-    m_jsObject = PassWeak<JSObject>(toJS(object));
+    m_jsObject = Weak<JSObject>(toJS(object));
 
     return object;
 }