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

Issue 2787843004: Attempt to simplify source_index calculation (Closed)

Created:
3 years, 8 months ago by smcgruer
Modified:
3 years, 8 months ago
Reviewers:
Ian Vollick, *ajuma, *weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify source_index and source_offset calculation The previous calculation is equivalent to looking up Parent(layer) for each branch and variable. BUG=707217 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2787843004 Cr-Commit-Position: refs/heads/master@{#461694} Committed: https://chromium.googlesource.com/chromium/src/+/beeaae78ce679a18605c63591ec6532e304b3d9e

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Change source_index initialization #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -19 lines) Patch
M cc/trees/property_tree_builder.cc View 1 2 1 chunk +11 lines, -19 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
smcgruer
+vollick, weiliangc as an FYI; looks like our analysis of source_index was reasonably likely correct. ...
3 years, 8 months ago (2017-03-30 23:33:13 UTC) #6
smcgruer
3 years, 8 months ago (2017-03-31 17:19:29 UTC) #9
weiliangc
LGTM https://codereview.chromium.org/2787843004/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2787843004/diff/20001/cc/trees/property_tree_builder.cc#newcode541 cc/trees/property_tree_builder.cc:541: int source_index = parent_index; nit: I think it's ...
3 years, 8 months ago (2017-03-31 17:44:48 UTC) #12
smcgruer
https://codereview.chromium.org/2787843004/diff/20001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/2787843004/diff/20001/cc/trees/property_tree_builder.cc#newcode541 cc/trees/property_tree_builder.cc:541: int source_index = parent_index; On 2017/03/31 17:44:48, weiliangc wrote: ...
3 years, 8 months ago (2017-03-31 17:48:16 UTC) #14
ajuma
lgtm too, thanks for simplifying this logic!
3 years, 8 months ago (2017-04-04 13:18:15 UTC) #19
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/2787843004/40001
3 years, 8 months ago (2017-04-04 13:22:33 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 13:29:51 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/beeaae78ce679a18605c63591ec6...

Powered by Google App Engine
This is Rietveld 408576698