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

Issue 2315693003: Revert of Remove unnecessary checks in PaintLayer::backgroundIsKnownToBeOpaqueInRect (Closed)

Created:
4 years, 3 months ago by lushnikov
Modified:
4 years, 3 months ago
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

Revert of Remove unnecessary checks in PaintLayer::backgroundIsKnownToBeOpaqueInRect (patchset #3 id:140001 of https://codereview.chromium.org/2297873002/ ) Reason for revert: This makes Win Tests builder to hit the DCHECK, e.g.: https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/52416 Original issue's description: > Remove unnecessary checks in PaintLayer::backgroundIsKnownToBeOpaqueInRect > > The PaintLayer::backgroundIsKnownToBeOpaque method is currently > only called by GraphicsLayers on their owning paint layer, or > by the recursive child call. The former is by definition > always called on a self painting layer, while the latter > already has a test to prevent consideration of layers that > do not paint into the backing in question. Hence we can > remove the check for self painting layer status. > > Also convert a test for dirty stacking order lists to a > DCHECK, because the test never fires on any layout test. > > These checks cause chicken-and-egg problems when the method > is called by the layer itself in order to identify compositing > reasons. In such cases we are not concerned with self layer > status; we are in fact trying to determine that status. > > R=chrishtr@chromium.org > BUG=381840 > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 > > Committed: https://crrev.com/a879db6c440ffd9c296b1a3f272458212eac48b5 > Cr-Commit-Position: refs/heads/master@{#416628} TBR=chrishtr@chromium.org,schenney@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=381840 Committed: https://crrev.com/1551e13becc18ed64e3a67070f9679542adec01f Cr-Commit-Position: refs/heads/master@{#416779}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 3 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
lushnikov
Created Revert of Remove unnecessary checks in PaintLayer::backgroundIsKnownToBeOpaqueInRect
4 years, 3 months ago (2016-09-06 23:52:00 UTC) #2
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/2315693003/1
4 years, 3 months ago (2016-09-06 23:52:19 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-06 23:53:12 UTC) #5
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 23:55:16 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1551e13becc18ed64e3a67070f9679542adec01f
Cr-Commit-Position: refs/heads/master@{#416779}

Powered by Google App Engine
This is Rietveld 408576698