WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 117014
[EFL][WK2] Add a null checking condition to in hide() of EwkContextMenu
https://bugs.webkit.org/show_bug.cgi?id=117014
Summary
[EFL][WK2] Add a null checking condition to in hide() of EwkContextMenu
Gyuyoung Kim
Reported
2013-05-29 20:57:32 PDT
m_viewImpl is able to be null. So, we need to protect this function against such case. EwkContextMenu::EwkContextMenu() : m_viewImpl(0) , m_contextMenuItems(0) { } EwkContextMenu::EwkContextMenu(Eina_List* items) : m_viewImpl(0) , m_contextMenuItems(0) {
Attachments
Patch
(2.43 KB, patch)
2013-05-29 20:58 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(1.45 KB, patch)
2013-05-30 17:40 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2013-05-29 20:58:35 PDT
Created
attachment 203306
[details]
Patch
Mikhail Pozdnyakov
Comment 2
2013-05-30 15:22:01 PDT
Comment on
attachment 203306
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203306&action=review
> Source/WebKit2/UIProcess/API/efl/ewk_context_menu.cpp:77 > +bool EwkContextMenu::hide()
I'd not change the function semantics: returned 'false' would implicitly mean that menu is not hidden which is not the case.
Gyuyoung Kim
Comment 3
2013-05-30 17:40:58 PDT
Created
attachment 203402
[details]
Patch
Gyuyoung Kim
Comment 4
2013-05-30 17:41:30 PDT
(In reply to
comment #2
)
> (From update of
attachment 203306
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=203306&action=review
> > > Source/WebKit2/UIProcess/API/efl/ewk_context_menu.cpp:77 > > +bool EwkContextMenu::hide() > > I'd not change the function semantics: returned 'false' would implicitly mean that menu is not hidden which is not the case.
Ok, I don't have big opinion about it. Changed.
Mikhail Pozdnyakov
Comment 5
2013-05-31 07:00:48 PDT
Comment on
attachment 203402
[details]
Patch LGTM
Chris Dumez
Comment 6
2013-05-31 07:59:45 PDT
Comment on
attachment 203402
[details]
Patch r=me
WebKit Commit Bot
Comment 7
2013-05-31 19:59:02 PDT
Comment on
attachment 203402
[details]
Patch Clearing flags on attachment: 203402 Committed
r151062
: <
http://trac.webkit.org/changeset/151062
>
WebKit Commit Bot
Comment 8
2013-05-31 19:59:05 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug