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

Issue 880653004: Blink side of changes to enable cache clearing without a flag. (Closed)

Created:
5 years, 10 months ago by Stephen Chennney
Modified:
5 years, 10 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, Rik, danakj, dglazkov+blink, Dominik Röttsches, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Blink side of changes to enable cache clearing without a flag. This is needed for rasterize_and_record future proofing against the removal of the command line flag for cache clearing. It's also cleaner and more transparent than setting a flag in the benchmark. Note that some code is temporary to allow the two-sided change with the chromium repository. R=pdr,chrishtr BUG=451448 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189548

Patch Set 1 #

Total comments: 3

Patch Set 2 : Piggy-back on existing enum #

Patch Set 3 : Fix mistake in LinkHighlight #

Total comments: 2

Patch Set 4 : Better use of enum. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -23 lines) Patch
M Source/platform/graphics/ContentLayerDelegate.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/ContentLayerDelegate.cpp View 1 2 3 3 chunks +8 lines, -4 lines 0 comments Download
M Source/web/LinkHighlight.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/LinkHighlight.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebPopupMenuImpl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebPopupMenuImpl.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M public/platform/WebContentLayerClient.h View 1 2 1 chunk +33 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
Stephen Chennney
https://codereview.chromium.org/880653004/diff/1/Source/web/LinkHighlight.h File Source/web/LinkHighlight.h (right): https://codereview.chromium.org/880653004/diff/1/Source/web/LinkHighlight.h#newcode61 Source/web/LinkHighlight.h:61: WebContentLayerClient::GraphicsContextStatus = WebContentLayerClient::GraphicsContextEnabled) override { } Needed to add ...
5 years, 10 months ago (2015-02-03 17:15:24 UTC) #1
chrishtr
How does the continuous painting mode in devtools work? Is that an approach we could ...
5 years, 10 months ago (2015-02-03 17:21:49 UTC) #2
Stephen Chennney
On 2015/02/03 17:21:49, chrishtr wrote: > How does the continuous painting mode in devtools work? ...
5 years, 10 months ago (2015-02-03 17:30:04 UTC) #3
Stephen Chennney
On 2015/02/03 17:30:04, Stephen Chenney wrote: > On 2015/02/03 17:21:49, chrishtr wrote: > > How ...
5 years, 10 months ago (2015-02-03 19:51:05 UTC) #4
chrishtr
Thanks for the clear explanation. https://codereview.chromium.org/880653004/diff/1/public/platform/WebContentLayerClient.h File public/platform/WebContentLayerClient.h (right): https://codereview.chromium.org/880653004/diff/1/public/platform/WebContentLayerClient.h#newcode69 public/platform/WebContentLayerClient.h:69: const bool clearCaches = ...
5 years, 10 months ago (2015-02-03 20:01:21 UTC) #5
Stephen Chennney
On 2015/02/03 20:01:21, chrishtr wrote: > Thanks for the clear explanation. > > https://codereview.chromium.org/880653004/diff/1/public/platform/WebContentLayerClient.h > ...
5 years, 10 months ago (2015-02-03 20:05:56 UTC) #6
chrishtr
On 2015/02/03 at 20:05:56, schenney wrote: > On 2015/02/03 20:01:21, chrishtr wrote: > > Thanks ...
5 years, 10 months ago (2015-02-03 20:06:25 UTC) #7
Stephen Chennney
I've renamed the enum for controlling painting (leaving the old one in place to bridge ...
5 years, 10 months ago (2015-02-03 21:38:24 UTC) #8
chrishtr
https://codereview.chromium.org/880653004/diff/40001/Source/platform/graphics/ContentLayerDelegate.cpp File Source/platform/graphics/ContentLayerDelegate.cpp (right): https://codereview.chromium.org/880653004/diff/40001/Source/platform/graphics/ContentLayerDelegate.cpp#newcode62 Source/platform/graphics/ContentLayerDelegate.cpp:62: GraphicsContext context(canvas, m_painter->displayItemList(), paintingControl == WebContentLayerClient::PaintDefaultBehavior ? GraphicsContext::NothingDisabled : ...
5 years, 10 months ago (2015-02-03 22:05:43 UTC) #9
Stephen Chennney
https://codereview.chromium.org/880653004/diff/40001/Source/platform/graphics/ContentLayerDelegate.cpp File Source/platform/graphics/ContentLayerDelegate.cpp (right): https://codereview.chromium.org/880653004/diff/40001/Source/platform/graphics/ContentLayerDelegate.cpp#newcode62 Source/platform/graphics/ContentLayerDelegate.cpp:62: GraphicsContext context(canvas, m_painter->displayItemList(), paintingControl == WebContentLayerClient::PaintDefaultBehavior ? GraphicsContext::NothingDisabled : ...
5 years, 10 months ago (2015-02-03 22:11:33 UTC) #10
chrishtr
LGTM with that changed.
5 years, 10 months ago (2015-02-03 22:13:36 UTC) #11
Stephen Chennney
On 2015/02/03 22:13:36, chrishtr wrote: > LGTM with that changed. Thanks. I've done that. I ...
5 years, 10 months ago (2015-02-03 22:21:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880653004/60001
5 years, 10 months ago (2015-02-04 21:40:55 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 10:30:52 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189548

Powered by Google App Engine
This is Rietveld 408576698