Bug 62978

Summary: [EFL] ChromeClientEfl doesn't need to check whether m_view is null.
Product: WebKit Reporter: Ryuan Choi <ryuan.choi>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, kenneth, leandro, lucas.de.marchi, rakuco, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Ryuan Choi 2011-06-20 05:03:47 PDT
ChromeClientEfl always are created with view and it will not be removed until destroyed.
So, we don't need to check whether m_view is null.
Comment 1 Ryuan Choi 2011-06-20 17:33:08 PDT
Created attachment 97895 [details]
Patch
Comment 2 Antonio Gomes 2011-06-20 17:45:27 PDT
Comment on attachment 97895 [details]
Patch

Should not you have ASSERTs instead then?
Comment 3 Ryuan Choi 2011-06-20 18:03:27 PDT
Created attachment 97898 [details]
Patch
Comment 4 Ryuan Choi 2011-06-20 18:07:49 PDT
(In reply to comment #2)
> (From update of attachment 97895 [details])
> Should not you have ASSERTs instead then?

Thanks for your comment.

m_view is only changed When called constructor of ChromeClientEfl.
Does we need to add ASSERT before calling m_view every time?

Almost other methods of ChromeClientEfl use m_view without checking m_view.
Comment 5 WebKit Review Bot 2011-06-20 18:32:26 PDT
The commit-queue encountered the following flaky tests while processing attachment 97898 [details]:

http/tests/local/formdata/send-form-data.html bug 63034 (author: jianli@chromium.org)
The commit-queue is continuing to process your patch.
Comment 6 WebKit Review Bot 2011-06-20 18:33:45 PDT
Comment on attachment 97898 [details]
Patch

Clearing flags on attachment: 97898

Committed r89327: <http://trac.webkit.org/changeset/89327>
Comment 7 WebKit Review Bot 2011-06-20 18:33:50 PDT
All reviewed patches have been landed.  Closing bug.