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

Issue 336793003: cc: Move CalculateContentsScale from LayerImpl to LayerTreeHostCommon (Closed)

Created:
6 years, 6 months ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Move CalculateContentsScale from LayerImpl to LayerTreeHostCommon This is mainly plumbing code. As we no longer have CalculateContentsScale for PictureLayerImpl,we move the scale calculations to LTHCommon. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277055

Patch Set 1 #

Total comments: 6

Patch Set 2 : review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -94 lines) Patch
M cc/layers/layer_impl.h View 1 chunk +0 lines, -9 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 3 chunks +14 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 8 chunks +73 lines, -66 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
sohanjg
Can you please take a look. Thanks.
6 years, 6 months ago (2014-06-13 14:07:23 UTC) #1
danakj
https://codereview.chromium.org/336793003/diff/1/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/336793003/diff/1/cc/trees/layer_tree_host_common.cc#newcode942 cc/trees/layer_tree_host_common.cc:942: layer->draw_properties().contents_scale_x = layer->contents_scale_x(); This is just setting x=x; which ...
6 years, 6 months ago (2014-06-13 15:00:27 UTC) #2
sohanjg
Please take a look. Thanks. https://codereview.chromium.org/336793003/diff/1/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/336793003/diff/1/cc/trees/layer_tree_host_common.cc#newcode942 cc/trees/layer_tree_host_common.cc:942: layer->draw_properties().contents_scale_x = layer->contents_scale_x(); On ...
6 years, 6 months ago (2014-06-13 15:36:06 UTC) #3
danakj
LGTM
6 years, 6 months ago (2014-06-13 15:39:10 UTC) #4
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-13 15:39:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/336793003/20001
6 years, 6 months ago (2014-06-13 15:39:48 UTC) #6
enne (OOO)
This is super great. Thank you! lgtm2
6 years, 6 months ago (2014-06-13 17:30:31 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 18:15:44 UTC) #8
Message was sent while issue was closed.
Change committed as 277055

Powered by Google App Engine
This is Rietveld 408576698