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

Issue 2342103002: Refactor the way PaintArtifactCompositor is attached and used. (Closed)

Created:
4 years, 3 months ago by chrishtr
Modified:
4 years, 3 months ago
Reviewers:
pdr., jbroman
CC:
jbroman, ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dcheng, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), gavinp+loader_chromium.org, Nate Chapin, Justin Novosad, kinuko+watch, loading-reviews_chromium.org, mlamouri+watch-blink_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the way PaintArtifactCompositor is attached and used. The new way is simpler and uses the same pattern as PaintLayerCompositor. BUG=646188 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/7e410b319bf81341e65a280be187996b8cab97c7 Cr-Commit-Position: refs/heads/master@{#419389}

Patch Set 1 #

Patch Set 2 : none #

Total comments: 8

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Total comments: 1

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -191 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 2 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameViewTest.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/StubChromeClientForSPv2.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h View 1 2 4 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.h View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 4 chunks +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 chunks +27 lines, -47 lines 0 comments Download
D third_party/WebKit/Source/web/WebViewImplPaintArtifactCompositorTest.cpp View 1 chunk +0 lines, -84 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (10 generated)
chrishtr
Depends on https://codereview.chromium.org/2322073006.
4 years, 3 months ago (2016-09-15 20:45:29 UTC) #4
pdr.
Looks great! Just one question and a couple nits. https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2769 third_party/WebKit/Source/core/frame/FrameView.cpp:2769: ...
4 years, 3 months ago (2016-09-15 20:53:08 UTC) #5
chrishtr
https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2769 third_party/WebKit/Source/core/frame/FrameView.cpp:2769: if (!page) On 2016/09/15 at 20:53:07, pdr. wrote: > ...
4 years, 3 months ago (2016-09-15 21:05:39 UTC) #6
pdr.
https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2769 third_party/WebKit/Source/core/frame/FrameView.cpp:2769: if (!page) On 2016/09/15 at 21:05:39, chrishtr wrote: > ...
4 years, 3 months ago (2016-09-15 21:08:17 UTC) #7
chrishtr
https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2769 third_party/WebKit/Source/core/frame/FrameView.cpp:2769: if (!page) On 2016/09/15 at 21:08:17, pdr. wrote: > ...
4 years, 3 months ago (2016-09-15 21:11:04 UTC) #8
pdr.
On 2016/09/15 at 21:11:04, chrishtr wrote: > https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2342103002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2769 ...
4 years, 3 months ago (2016-09-15 21:11:50 UTC) #9
jbroman
https://codereview.chromium.org/2342103002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2342103002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2772 third_party/WebKit/Source/core/frame/FrameView.cpp:2772: page->chromeClient().attachRootLayer(m_paintArtifactCompositor->getWebLayer(), &frame()); For what it's worth, the concern here ...
4 years, 3 months ago (2016-09-15 21:31:04 UTC) #11
chrishtr
On 2016/09/15 at 21:31:04, jbroman wrote: > https://codereview.chromium.org/2342103002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2342103002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2772 ...
4 years, 3 months ago (2016-09-15 21:35:27 UTC) #12
chrishtr
On 2016/09/15 at 21:35:27, chrishtr wrote: > On 2016/09/15 at 21:31:04, jbroman wrote: > > ...
4 years, 3 months ago (2016-09-15 21:36:51 UTC) #13
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/2342103002/100001
4 years, 3 months ago (2016-09-17 01:11:55 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/298251)
4 years, 3 months ago (2016-09-17 02:13:54 UTC) #18
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/2342103002/140001
4 years, 3 months ago (2016-09-17 19:03:11 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-17 23:21:09 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-17 23:23:28 UTC) #24
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7e410b319bf81341e65a280be187996b8cab97c7
Cr-Commit-Position: refs/heads/master@{#419389}

Powered by Google App Engine
This is Rietveld 408576698