[Qt] Remove QtSenderStack now we do not support __qt_sender__ anymore in Qt bridge
authorcaio.oliveira@openbossa.org <caio.oliveira@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Aug 2012 20:01:53 +0000 (20:01 +0000)
committercaio.oliveira@openbossa.org <caio.oliveira@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Aug 2012 20:01:53 +0000 (20:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=93767

Reviewed by Kenneth Rohde Christiansen.

Dead code after patch of bug 93649.

* bridge/qt/qt_instance.h:
(QtInstance):

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

Source/WebCore/ChangeLog
Source/WebCore/bridge/qt/qt_instance.h

index 59028e9..6a9e22c 100644 (file)
@@ -1,3 +1,15 @@
+2012-08-11  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
+
+        [Qt] Remove QtSenderStack now we do not support __qt_sender__ anymore in Qt bridge
+        https://bugs.webkit.org/show_bug.cgi?id=93767
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Dead code after patch of bug 93649.
+
+        * bridge/qt/qt_instance.h:
+        (QtInstance):
+
 2012-08-11  Abhishek Arya  <inferno@chromium.org>
 
         Unreviewed. 
index 6c9de0d..cc42aed 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "BridgeJSC.h"
 #include <QPointer>
-#include <QStack>
 #include "Weak.h"
 #include "runtime_root.h"
 #include <qhash.h>
@@ -76,15 +75,6 @@ public:
 
     static QtInstance* getInstance(JSObject*);
 
-    class QtSenderStack {
-    public:
-        QObject* top() const { return m_stack.isEmpty() ? 0 : m_stack.top(); }
-        void push(QObject* object) { m_stack.push(object); }
-        void pop() { Q_ASSERT(!m_stack.isEmpty()); m_stack.pop(); }
-    private:
-        QStack<QObject*> m_stack;
-    };
-
 private:
 
     class QtWeakObjectReference {