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

Issue 2460413003: cc: Remove more references to owning_layer_ from RenderSurfaceImpl (Closed)

Created:
4 years, 1 month ago by ajuma
Modified:
4 years, 1 month ago
Reviewers:
jaydasika, weiliangc
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove more references to owning_layer_ from RenderSurfaceImpl This removes more dependencies of RenderSurfaceImpl on its owning layer. Specifically, this removes the use of owning_layer_ for accessing property trees and debug colors, and for gettng the surface's effect tree index. This also renames the OwningLayerId() method to id(). BUG=611883 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/740a49caf190bab13f8fdfd0979b29e09752da6b Cr-Commit-Position: refs/heads/master@{#428991}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -22 lines) Patch
M cc/layers/render_surface_impl.h View 1 3 chunks +5 lines, -1 line 0 comments Download
M cc/layers/render_surface_impl.cc View 1 9 chunks +14 lines, -19 lines 0 comments Download
M cc/trees/damage_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/draw_property_utils.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (15 generated)
ajuma
4 years, 1 month ago (2016-10-31 21:47:32 UTC) #5
jaydasika
lgtm https://codereview.chromium.org/2460413003/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/2460413003/diff/1/cc/layers/render_surface_impl.cc#newcode37 cc/layers/render_surface_impl.cc:37: stable_effect_node_id_(owning_layer->id()), nit : The node in 'stable_effect_node_id' is ...
4 years, 1 month ago (2016-10-31 23:12:00 UTC) #9
ajuma
https://codereview.chromium.org/2460413003/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/2460413003/diff/1/cc/layers/render_surface_impl.cc#newcode37 cc/layers/render_surface_impl.cc:37: stable_effect_node_id_(owning_layer->id()), On 2016/10/31 23:12:00, jaydasika wrote: > nit : ...
4 years, 1 month ago (2016-10-31 23:26:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460413003/20001
4 years, 1 month ago (2016-11-01 13:28:23 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-01 13:33:32 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/740a49caf190bab13f8fdfd0979b29e09752da6b Cr-Commit-Position: refs/heads/master@{#428991}
4 years, 1 month ago (2016-11-01 13:38:00 UTC) #21
ajuma
4 years, 1 month ago (2016-11-07 21:46:48 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2483033002/ by ajuma@chromium.org.

The reason for reverting is: Possibly caused a regression in draw properties
computation time (see http://crbug.com/663068)..

Powered by Google App Engine
This is Rietveld 408576698