Changeset 128011 in webkit
- Timestamp:
- Sep 9, 2012 7:33:40 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128010 r128011 1 2012-09-09 Jinwoo Song <jinwoo7.song@samsung.com> 2 3 [EFL][WK2] Minibrowser locks up when right clicking editable filed 4 https://bugs.webkit.org/show_bug.cgi?id=96074 5 6 Reviewed by Gyuyoung Kim. 7 8 WebProcess crashes when the context menu type is SubmenuType and non-CROSS_PLATFORM_CONTEXT_MENUS is used. 9 It is because platformSubMenu() in the ContextMenuItemEfl.cpp returns null. This patch implements the setSubMenu() 10 and platformSubMenu() to set and return the subMenuItems. 11 12 * platform/efl/ContextMenuItemEfl.cpp: 13 (WebCore::ContextMenuItem::setSubMenu): 14 (WebCore::ContextMenuItem::platformSubMenu): 15 (WebCore): 16 1 17 2012-09-09 Kangil Han <kangil.han@samsung.com> 2 18 -
trunk/Source/WebCore/platform/efl/ContextMenuItemEfl.cpp
r113147 r128011 4 4 * Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia 5 5 * Copyright (C) 2009-2010 ProFUSION embedded systems 6 * Copyright (C) 2011 Samsung Electronics6 * Copyright (C) 2011-2012 Samsung Electronics 7 7 * 8 8 * Redistribution and use in source and binary forms, with or without … … 34 34 #include "ContextMenuItem.h" 35 35 36 #include "ContextMenu.h" 36 37 #include "NotImplemented.h" 37 38 … … 122 123 } 123 124 124 void ContextMenuItem::setSubMenu(ContextMenu* )125 void ContextMenuItem::setSubMenu(ContextMenu* menu) 125 126 { 126 notImplemented();127 m_platformDescription.subMenuItems = *menu->platformDescription(); 127 128 } 128 129 129 130 PlatformMenuDescription ContextMenuItem::platformSubMenu() const 130 { 131 return 0; 132 } 131 { 132 return &m_platformDescription.subMenuItems; 133 } 134 135 void ContextMenuItem::setSubMenu(Vector<ContextMenuItem>& items) 136 { 137 m_platformDescription.subMenuItems = items; 138 } 139 133 140 #endif 134 141 }
Note: See TracChangeset
for help on using the changeset viewer.