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

Issue 2373093002: (reland) Add tests for PaintPropertyTreePrinter, remove path printers (Closed)

Created:
4 years, 2 months ago by pdr.
Modified:
4 years, 2 months ago
Reviewers:
chrishtr, szager1
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

(reland) Add tests for PaintPropertyTreePrinter, remove path printers This patch adds some basic testing of PaintPropertyTreePrinter which ensures trees can be print with and without root layer scrolling. Regular expressions have been used to focus on the tree structure and avoid dynamic output (e.g., pointer values). I am not aware of anyone using the path printers and have removed them to keep PaintPropertyTreePrinter lean & mean. This is a reland of [1] which was rolled out due to colliding with root property node patches. The updated patch no longer has different tests for root layer scrolls and non-root layer scrolls, showing that those patches actually worked. [1] https://crrev.com/900408123237980d6b583c24b7e64d3b446910e8 BUG=645615 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/a08dcd0cb471c6f7bced2291892bc1008aaa8890 Cr-Commit-Position: refs/heads/master@{#421344}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -45 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.h View 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp View 3 chunks +41 lines, -41 lines 0 comments Download
A third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp View 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
pdr.
This is a reland due to colliding with the root node patches yesterday. The only ...
4 years, 2 months ago (2016-09-27 18:41:43 UTC) #3
chrishtr
lgtm
4 years, 2 months ago (2016-09-27 19:00:38 UTC) #4
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/2373093002/1
4 years, 2 months ago (2016-09-27 19:57:47 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-27 21:41:33 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/a08dcd0cb471c6f7bced2291892bc1008aaa8890 Cr-Commit-Position: refs/heads/master@{#421344}
4 years, 2 months ago (2016-09-27 21:45:11 UTC) #9
Xianzhu
Just noticed the path printer was removed when I tried to use it :( It's ...
4 years, 2 months ago (2016-09-28 22:53:14 UTC) #10
pdr.
4 years, 2 months ago (2016-09-28 23:20:24 UTC) #11
Message was sent while issue was closed.
On 2016/09/28 at 22:53:14, wangxianzhu wrote:
> Just noticed the path printer was removed when I tried to use it :(
> 
> It's useful when we have a paint property node but don't have a FrameView in
platform/ context, and want to show the affecting nodes.
> Perhaps it would be more useful to print the all paths of a
GeometryPropertyTreeState. Wdyt?

Sorry about that, I'll add it back right now. I didn't realize you were using
it.

I'm a little sad about having GeometryPropertyTreeState and
PaintPropertyTreeState. The (soon to be) only difference will be that
PaintPropertyTreeState also has a ScrollPropertyNode. If possible, I'd like to
add printers that support both (like the path printers) until we can somehow
unify these two structs.

Powered by Google App Engine
This is Rietveld 408576698