* Self destruct the clients like the ohter ports do
authorzecke@webkit.org <zecke@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Nov 2007 09:34:45 +0000 (09:34 +0000)
committerzecke@webkit.org <zecke@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Nov 2007 09:34:45 +0000 (09:34 +0000)
Signed-off-by: Simon
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28230 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
WebKit/qt/WebCoreSupport/ContextMenuClientQt.cpp
WebKit/qt/WebCoreSupport/DragClientQt.cpp
WebKit/qt/WebCoreSupport/EditorClientQt.cpp
WebKit/qt/WebCoreSupport/InspectorClientQt.cpp

index 64d59272c5194dde16a9859aeb696abaa00987d6..42c02f94c9bfb2baff01b57c5a5c363f8da9b82f 100644 (file)
@@ -1,3 +1,17 @@
+2007-11-30  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
+
+        Reviewed by Simon.
+
+        * Self destruct the clients like the ohter ports do
+        
+
+        * WebCoreSupport/ChromeClientQt.cpp:
+        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+        * WebCoreSupport/ContextMenuClientQt.cpp:
+        * WebCoreSupport/DragClientQt.cpp:
+        * WebCoreSupport/EditorClientQt.cpp:
+        * WebCoreSupport/InspectorClientQt.cpp:
+
 2007-11-29  Brady Eidson  <beidson@apple.com>
 
         Keep it building with new client method
index 20578ca747af66485414c5508da6d375658aedd2..e2a50f715ea3af347e6b9feb0d93a4e15169b084 100644 (file)
@@ -215,7 +215,7 @@ void ChromeClientQt::addMessageToConsole(const String& message, unsigned int lin
 
 void ChromeClientQt::chromeDestroyed()
 {
-    notImplemented();
+    delete this;
 }
 
 bool ChromeClientQt::canRunBeforeUnloadConfirmPanel()
index e524e47226fb6cbb4c52bd3dfb4615725f1f63f7..ae9d718ff8260e5eb5167fc70fedff80b99d3f65 100644 (file)
@@ -38,7 +38,7 @@ namespace WebCore {
     
 void ContextMenuClientQt::contextMenuDestroyed()
 {
-    notImplemented();
+    delete this;
 }
 
 PlatformMenuDescription ContextMenuClientQt::getCustomMenuFromDefaultItems(ContextMenu* menu)
index 245266b0ea90cb4febebfb9be5e1ca926c533542..e270162f3514eab3b0160626062b8f05d49970fb 100644 (file)
@@ -45,6 +45,7 @@ void DragClientQt::willPerformDragDestinationAction(DragDestinationAction, DragD
 
 void DragClientQt::dragControllerDestroyed()
 {
+    delete this;
 }
 
 DragSourceAction DragClientQt::dragSourceActionMaskForPoint(const IntPoint&)
index 40e9198c105e5e949ac2eb29652ae3ca4664ef37..162506306c6dfacc706656bd0140101e796f9987 100644 (file)
@@ -306,7 +306,7 @@ bool EditorClientQt::shouldInsertNode(Node* node, Range* range, EditorInsertActi
 
 void EditorClientQt::pageDestroyed()
 {
-    notImplemented();
+    delete this;
 }
 
 bool EditorClientQt::smartInsertDeleteEnabled()
index 5c7e94a84cb822d86b73a76fcec4393a23f96e78..939fbe7cf5174772111fe81b4261aeee5e53f7fd 100644 (file)
@@ -36,7 +36,7 @@ namespace WebCore {
 
 void InspectorClientQt::inspectorDestroyed()
 {
-    notImplemented();
+    delete this;
 }
 
 Page* InspectorClientQt::createPage()