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

Issue 2574713003: Add toString() for paint property node classes (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
pdr., weiliangc, vmpstr
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, f(malita), blink-reviews-paint_chromium.org, blink-reviews, cc-bugs_chromium.org, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add toString() for paint property node classes This extracts the common code in PaintPropertyTreePrinter.cpp and PaintPrinters.cpp. This provides convenient way to dump paint property nodes in debugging or DCHECK code. I plan to use this in FindPropertiesNeedingUpdate. The added code is compiled unconditionally but can be removed by the linker in production because they are not actually used in production code. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/a711a5d7b4589476e0da0477c9b961b72d241eff Cr-Commit-Position: refs/heads/master@{#438378}

Patch Set 1 #

Patch Set 2 : Simplify FilterOperations::ToString() #

Patch Set 3 : Meet TracedValue json requirements #

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : Update test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -108 lines) Patch
M cc/output/filter_operations.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/filter_operations.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M cc/output/filter_operations_unittest.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp View 5 chunks +2 lines, -70 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp View 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPrinters.cpp View 2 chunks +9 lines, -38 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
Xianzhu
PTAL. weilingc: cc pdr: blink
4 years ago (2016-12-13 18:40:41 UTC) #6
pdr.
On 2016/12/13 at 18:40:41, wangxianzhu wrote: > PTAL. > > weilingc: cc > pdr: blink ...
4 years ago (2016-12-13 19:07:59 UTC) #7
Xianzhu
+vmpstr ptal cc/output/filter_operations.(h|cc) in case weiliangc is not available now.
4 years ago (2016-12-13 19:36:08 UTC) #9
vmpstr
lgtm https://codereview.chromium.org/2574713003/diff/60001/cc/output/filter_operations_unittest.cc File cc/output/filter_operations_unittest.cc (right): https://codereview.chromium.org/2574713003/diff/60001/cc/output/filter_operations_unittest.cc#newcode961 cc/output/filter_operations_unittest.cc:961: filters.ToString(); Compare these to expected string please.
4 years ago (2016-12-13 22:02:24 UTC) #14
Xianzhu
https://codereview.chromium.org/2574713003/diff/60001/cc/output/filter_operations_unittest.cc File cc/output/filter_operations_unittest.cc (right): https://codereview.chromium.org/2574713003/diff/60001/cc/output/filter_operations_unittest.cc#newcode961 cc/output/filter_operations_unittest.cc:961: filters.ToString(); On 2016/12/13 22:02:24, vmpstr wrote: > Compare these ...
4 years ago (2016-12-13 22:09:24 UTC) #17
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/2574713003/80001
4 years ago (2016-12-13 22:10:09 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-14 01:24:32 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-14 01:27:41 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a711a5d7b4589476e0da0477c9b961b72d241eff
Cr-Commit-Position: refs/heads/master@{#438378}

Powered by Google App Engine
This is Rietveld 408576698