Summary: | [EFL][WK2] Do not allow passing null pointers for *Ref types | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kenneth Rohde Christiansen <kenneth> | ||||
Component: | WebKit EFL | Assignee: | Kenneth Rohde Christiansen <kenneth> | ||||
Status: | RESOLVED WONTFIX | ||||||
Severity: | Normal | CC: | ap, benjamin, cdumez, gyuyoung.kim, kling, lucas.de.marchi, mcatanzaro, mikhail.pozdnyakov, rakuco, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 107820 | ||||||
Attachments: |
|
Description
Kenneth Rohde Christiansen
2013-03-20 05:58:55 PDT
Created attachment 194028 [details]
Patch
*** Bug 109276 has been marked as a duplicate of this bug. *** Comment on attachment 194028 [details]
Patch
LGTM
Comment on attachment 194028 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194028&action=review > Source/WebKit2/UIProcess/API/C/efl/WKView.h:53 > +WK_EXPORT WKViewRef WKViewCreateWithPageGroup(WKContextRef context, WKPageGroupRef pageGroup); nit: variable names can be omitted Comment on attachment 194028 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194028&action=review > Source/WebKit2/UIProcess/API/C/efl/WKView.cpp:41 > RefPtr<WebView> webView = WebView::create(toImpl(contextRef), toImpl(pageGroupRef)); How about null-check assertions for args?
> How about null-check assertions for args?
I don't mind and I can do that if a reviewer thinks that makes sense. The asserts could also be in toImpl/toAPI instead.
(In reply to comment #6) > > How about null-check assertions for args? > > I don't mind and I can do that if a reviewer thinks that makes sense. The asserts could also be in toImpl/toAPI instead. Right, other C API code does not usually use assertions either. LGTM then. Ping owner review/sign off. Comment on attachment 194028 [details]
Patch
Entirely port specific so it should no longer require owner review. r=me.
Closing this bug because the EFL port has been removed from trunk. If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this. |