Bug 110311 - [WK2] Remove m_viewportSize in WebPage.
Summary: [WK2] Remove m_viewportSize in WebPage.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dongseong Hwang
URL:
Keywords:
Depends on: 110299
Blocks: 110066
  Show dependency treegraph
 
Reported: 2013-02-19 23:48 PST by Dongseong Hwang
Modified: 2013-02-20 17:00 PST (History)
10 users (show)

See Also:


Attachments
Patch (12.59 KB, patch)
2013-02-19 23:52 PST, Dongseong Hwang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dongseong Hwang 2013-02-19 23:48:24 PST
EFL and Qt use m_viewSize as a contents size while Apple use it as a viewport
size, so EFL and Qt introduced m_viewportSize to make WebPage know a viewport
size.

EFL and Qt use m_viewSize as a contents size because the size of non compositing
layer is contents size, and EFL and Qt mark whole non compositing layer as dirty
using m_viewSize. Bug 110299 (http://webkit.org/b/110299) changes that it is not
necessary to know m_viewSize when marking whole non compositing layer as dirty.
So we can make EFL and Qt use m_viewSize as a viewport size also.

This patch removes m_viewportSize and related methods to increase readability.
Comment 1 Dongseong Hwang 2013-02-19 23:52:57 PST
Created attachment 189256 [details]
Patch
Comment 2 Anders Carlsson 2013-02-20 09:45:46 PST
Comment on attachment 189256 [details]
Patch

I'm glad that m_viewSize now means viewport size everywhere, r=me.
Comment 3 WebKit Review Bot 2013-02-20 10:25:25 PST
Comment on attachment 189256 [details]
Patch

Clearing flags on attachment: 189256

Committed r143474: <http://trac.webkit.org/changeset/143474>
Comment 4 WebKit Review Bot 2013-02-20 10:25:29 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Dongseong Hwang 2013-02-20 17:00:22 PST
(In reply to comment #2)
> (From update of attachment 189256 [details])
> I'm glad that m_viewSize now means viewport size everywhere, r=me.

Thank you for review. I'm glad too :)