Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Issue 11779008: Fix metadata content size. (Closed)

Created:
7 years, 11 months ago by aelias_OOO_until_Jul13
Modified:
7 years, 11 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, mkosiba (inactive), aruslan
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix metadata content size. The previous implementation always returned zero since it checked the bounds of the scroll layer instead of its child. Also add a unit test for the metadata values. BUG=161945 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175431

Patch Set 1 #

Patch Set 2 : Move unit test #

Patch Set 3 : Fix additional page scale-related bug with content size #

Total comments: 4

Patch Set 4 : Change second test pageScaleFactor to 4 #

Total comments: 1

Patch Set 5 : Add .0f to floating point literals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -5 lines) Patch
M cc/layer_tree_host_impl.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
aelias_OOO_until_Jul13
Hi Dana, just a small fix for a bug in my metadata function.
7 years, 11 months ago (2013-01-05 03:07:28 UTC) #1
danakj
https://codereview.chromium.org/11779008/diff/3003/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11779008/diff/3003/cc/layer_tree_host_impl_unittest.cc#newcode923 cc/layer_tree_host_impl_unittest.cc:923: EXPECT_EQ(gfx::Vector2dF(0, 10), metadata.root_scroll_offset); the root scroll offset is getting ...
7 years, 11 months ago (2013-01-05 03:27:07 UTC) #2
aelias_OOO_until_Jul13
https://codereview.chromium.org/11779008/diff/3003/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11779008/diff/3003/cc/layer_tree_host_impl_unittest.cc#newcode923 cc/layer_tree_host_impl_unittest.cc:923: EXPECT_EQ(gfx::Vector2dF(0, 10), metadata.root_scroll_offset); On 2013/01/05 03:27:07, danakj wrote: > ...
7 years, 11 months ago (2013-01-07 19:09:36 UTC) #3
danakj
Ah, okay. That if statement :) Thanks and LGTM https://codereview.chromium.org/11779008/diff/5001/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11779008/diff/5001/cc/layer_tree_host_impl_unittest.cc#newcode894 cc/layer_tree_host_impl_unittest.cc:894: ...
7 years, 11 months ago (2013-01-07 19:40:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11779008/10001
7 years, 11 months ago (2013-01-07 20:29:14 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_aura for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-07 22:31:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11779008/10001
7 years, 11 months ago (2013-01-07 22:40:19 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 00:34:37 UTC) #8
Message was sent while issue was closed.
Change committed as 175431

Powered by Google App Engine
This is Rietveld 408576698