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

Issue 396073002: Remove 2 calls to paintInvalidationForWholeRenderer (Closed)

Created:
6 years, 5 months ago by Julien - ping for review
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Remove 2 calls to paintInvalidationForWholeRenderer These calls were needed as we can make the body or the document element's background bleed into the canvas (ie replacing the FrameView's background). However the logic was working around the fact that clippedOverflowRectForPaintInvalidation didn't account for the previous cases. The whole logic works as the 2 renderers where this happens share the same coordinate space as the viewport. The tests are all invalidating as much, we just got rid of some stray invalidations. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178605

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebaselined patch for landing #

Messages

Total messages: 16 (0 generated)
Julien - ping for review
6 years, 5 months ago (2014-07-16 00:01:32 UTC) #1
dsinclair
lgtm https://codereview.chromium.org/396073002/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/396073002/diff/1/Source/core/rendering/RenderBox.cpp#newcode1960 Source/core/rendering/RenderBox.cpp:1960: return view()->viewRect(); Should we add an ASSERT here ...
6 years, 5 months ago (2014-07-21 19:32:29 UTC) #2
Julien - ping for review
https://codereview.chromium.org/396073002/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/396073002/diff/1/Source/core/rendering/RenderBox.cpp#newcode1960 Source/core/rendering/RenderBox.cpp:1960: return view()->viewRect(); On 2014/07/21 19:32:28, dsinclair wrote: > Should ...
6 years, 5 months ago (2014-07-21 20:33:34 UTC) #3
Julien - ping for review
The CQ bit was checked by jchaffraix@chromium.org
6 years, 5 months ago (2014-07-21 20:52:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/396073002/1
6 years, 5 months ago (2014-07-21 20:53:16 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 5 months ago (2014-07-21 21:06:10 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-21 21:08:42 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/10712)
6 years, 5 months ago (2014-07-21 21:08:43 UTC) #8
Julien - ping for review
The CQ bit was checked by jchaffraix@chromium.org
6 years, 5 months ago (2014-07-21 22:14:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/396073002/20001
6 years, 5 months ago (2014-07-21 22:15:40 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-21 23:21:10 UTC) #11
commit-bot: I haz the power
Change committed as 178605
6 years, 5 months ago (2014-07-22 00:01:18 UTC) #12
esprehn
Are you sure they share the same coordinate space? If you transform the body or ...
6 years, 5 months ago (2014-07-22 02:08:21 UTC) #13
esprehn
On 2014/07/22 at 02:08:21, esprehn wrote: > Are you sure they share the same coordinate ...
6 years, 5 months ago (2014-07-22 02:10:45 UTC) #14
Julien - ping for review
On 2014/07/22 at 02:10:45, esprehn wrote: > On 2014/07/22 at 02:08:21, esprehn wrote: > > ...
6 years, 5 months ago (2014-07-24 17:45:38 UTC) #15
Julien - ping for review
6 years, 5 months ago (2014-07-24 17:46:51 UTC) #16
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/420483002/ by jchaffraix@chromium.org.

The reason for reverting is: This change is plain wrong as <body> and <html> can
have different coordinate spaces (e.g. if either has a transform).

Thanks to Elliott to pointing this out..

Powered by Google App Engine
This is Rietveld 408576698