diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp')
-rw-r--r-- | WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp b/WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp index 8f88f1a..e3d8e5a 100644 --- a/WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp +++ b/WebKit/wx/WebKitSupport/ContextMenuClientWx.cpp @@ -28,6 +28,7 @@ #include "config.h" #include "ContextMenuClientWx.h" #include "NotImplemented.h" +#include "ContextMenu.h" #include <stdio.h> namespace WebCore { @@ -38,13 +39,12 @@ ContextMenuClientWx::~ContextMenuClientWx() void ContextMenuClientWx::contextMenuDestroyed() { - notImplemented(); + delete this; } -PlatformMenuDescription ContextMenuClientWx::getCustomMenuFromDefaultItems(ContextMenu*) +PlatformMenuDescription ContextMenuClientWx::getCustomMenuFromDefaultItems(ContextMenu* menu) { - notImplemented(); - return 0; + return menu->releasePlatformDescription(); } void ContextMenuClientWx::contextMenuItemSelected(ContextMenuItem*, |