RESOLVED FIXED 77586
[EFL] Add contentsSize flag into ewk_tiled_backing_store's private data.
https://bugs.webkit.org/show_bug.cgi?id=77586
Summary [EFL] Add contentsSize flag into ewk_tiled_backing_store's private data.
KwangHyuk
Reported 2012-02-01 17:28:22 PST
Created attachment 125051 [details] Patch. In order to prevent conflict between zoom and contents size change, layout flag is newly added.
Attachments
Patch. (3.10 KB, patch)
2012-02-01 17:28 PST, KwangHyuk
no flags
Patch updated. (3.10 KB, patch)
2012-02-01 18:21 PST, KwangHyuk
no flags
Patch. (3.16 KB, patch)
2012-02-01 18:24 PST, KwangHyuk
no flags
Patch updated. (3.20 KB, patch)
2012-02-02 18:07 PST, KwangHyuk
no flags
Patch updated. (3.24 KB, patch)
2012-02-02 19:21 PST, KwangHyuk
kling: review+
kling: commit-queue-
Patch. (3.20 KB, patch)
2012-02-02 20:08 PST, KwangHyuk
no flags
WebKit Review Bot
Comment 1 2012-02-01 18:17:09 PST
Attachment 125051 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/efl/ChangeLog', u'Source/Web..." exit_code: 1 Source/WebKit/efl/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
KwangHyuk
Comment 2 2012-02-01 18:21:04 PST
Created attachment 125060 [details] Patch updated. Add bug ID.
WebKit Review Bot
Comment 3 2012-02-01 18:24:06 PST
Attachment 125060 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/efl/ChangeLog', u'Source/Web..." exit_code: 1 Source/WebKit/efl/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
KwangHyuk
Comment 4 2012-02-01 18:24:43 PST
Ryuan Choi
Comment 5 2012-02-02 17:20:47 PST
Comment on attachment 125062 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=125062&action=review > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1802 > + priv->changed.layout = true; I'm not good guys for the naming, but why don't you use contentsSize instead of layout ? This flag looks to mark when contents resized.
KwangHyuk
Comment 6 2012-02-02 18:07:59 PST
Created attachment 125223 [details] Patch updated. Replace layout flag with contentsSize flag.
Ryuan Choi
Comment 7 2012-02-02 18:21:47 PST
(In reply to comment #6) > Created an attachment (id=125223) [details] > Patch updated. > > Replace layout flag with contentsSize flag. LGTM
KwangHyuk
Comment 8 2012-02-02 19:21:05 PST
Created attachment 125239 [details] Patch updated. Just move reset of contentsSize flag into existing condition block.
Andreas Kling
Comment 9 2012-02-02 20:00:30 PST
Comment on attachment 125239 [details] Patch updated. View in context: https://bugs.webkit.org/attachment.cgi?id=125239&action=review r=me > Source/WebKit/efl/ChangeLog:9 > + ewk_tiled_bakcing_store can not detect the conflict between them. Typo, ewk_tiled_backing_store. > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1377 > + if (priv->changed.contentsSize) > + priv->changed.contentsSize = false; No need for the "if" here, you could just do priv->changed.contentsSize = false; unconditionally.
KwangHyuk
Comment 10 2012-02-02 20:06:08 PST
(In reply to comment #9) > (From update of attachment 125239 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=125239&action=review > > r=me > > > Source/WebKit/efl/ChangeLog:9 > > + ewk_tiled_bakcing_store can not detect the conflict between them. > > Typo, ewk_tiled_backing_store. > Thanks. :) > > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1377 > > + if (priv->changed.contentsSize) > > + priv->changed.contentsSize = false; > > No need for the "if" here, you could just do priv->changed.contentsSize = false; unconditionally. You are right.
KwangHyuk
Comment 11 2012-02-02 20:08:39 PST
Created attachment 125246 [details] Patch. Patch updated according to Kling's comment.
WebKit Review Bot
Comment 12 2012-02-02 21:42:30 PST
Comment on attachment 125246 [details] Patch. Clearing flags on attachment: 125246 Committed r106627: <http://trac.webkit.org/changeset/106627>
WebKit Review Bot
Comment 13 2012-02-02 21:42:35 PST
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.