Bug 101051 - [EFL] Unify transforms in WK2
Summary: [EFL] Unify transforms in WK2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kenneth Rohde Christiansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 07:15 PDT by Kenneth Rohde Christiansen
Modified: 2012-11-04 08:03 PST (History)
5 users (show)

See Also:


Attachments
Patch (11.16 KB, patch)
2012-11-02 07:18 PDT, Kenneth Rohde Christiansen
hausmann: review+
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Rohde Christiansen 2012-11-02 07:15:45 PDT
SSIA
Comment 1 Kenneth Rohde Christiansen 2012-11-02 07:18:22 PDT
Created attachment 172055 [details]
Patch
Comment 2 Mikhail Pozdnyakov 2012-11-02 07:22:30 PDT
Comment on attachment 172055 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172055&action=review

LGTM

> Source/WebKit2/UIProcess/API/efl/EwkViewImpl.h:196
> +    inline Ewk_View_Smart_Data* smartData() const;

well, I don't like this. However it's common problem in EFL WK2 and probably should be fixed in all the places
Comment 3 Yael 2012-11-02 07:25:24 PDT
Comment on attachment 172055 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172055&action=review

> Source/WebKit2/UIProcess/API/efl/EwkViewImpl.h:183
> -    WebKit::PageViewportControllerClientEfl* pageViewportControllerClient() { return m_pageViewportControllerClient.get(); }
> -    WebKit::PageViewportController* pageViewportController() { return m_pageViewportController.get(); }
> +    WebKit::PageViewportControllerClientEfl* pageViewportControllerClient() const { return m_pageViewportControllerClient.get(); }
> +    WebKit::PageViewportController* pageViewportController() const { return m_pageViewportController.get(); }

This is against the new rule in webkit that const methods should return const pointers.
Comment 4 Kenneth Rohde Christiansen 2012-11-02 07:27:34 PDT
> This is against the new rule in webkit that const methods should return const pointers.

Mikhail will go over all the const work soon, but separately from this.
Comment 5 WebKit Review Bot 2012-11-02 10:08:53 PDT
Comment on attachment 172055 [details]
Patch

Rejecting attachment 172055 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
Kit2/UIProcess/API/efl/ewk_view.cpp
Hunk #2 FAILED at 168.
Hunk #3 succeeded at 222 (offset -1 lines).
Hunk #4 succeeded at 230 (offset -1 lines).
Hunk #5 succeeded at 243 (offset -1 lines).
Hunk #6 succeeded at 864 (offset -1 lines).
1 out of 6 hunks FAILED -- saving rejects to file Source/WebKit2/UIProcess/API/efl/ewk_view.cpp.rej

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Simon Haus..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/14678906
Comment 6 Kenneth Rohde Christiansen 2012-11-04 08:03:58 PST
Landed in 133423