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

Issue 1161913002: Remove outdated FIXME (Closed)

Created:
5 years, 6 months ago by huayong.xu
Modified:
5 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove outdated FIXME paintInvalidationContainer pointer of LayoutObject::invalidatePaintUsingContainer is not null, so replaced by reference. Meanwhile containerForPaintInvalidation will be deprecated, replaced by containerForPaintInvalidationOnRootedTree. This is cleanup of https://codereview.chromium.org/247803003. BUG=363699 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196476

Patch Set 1 #

Total comments: 4

Patch Set 2 : add containerForPaintInvalidationOnRootedTree #

Total comments: 1

Patch Set 3 : add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -41 lines) Patch
M Source/core/inspector/InspectorTraceEvents.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorTraceEvents.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/layout/LayoutObject.h View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 7 chunks +34 lines, -25 lines 0 comments Download
M Source/core/layout/LayoutObjectChildList.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutView.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
huayong.xu
It seems that paintInvalidationContainer pointer LayoutObject::invalidatePaintUsingContainer is never null, so it is changed to reference. ...
5 years, 6 months ago (2015-05-28 05:46:53 UTC) #2
Julien - ping for review
The change looks reasonable, some comments. https://codereview.chromium.org/1161913002/diff/1/Source/core/layout/LayoutObject.cpp File Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/1161913002/diff/1/Source/core/layout/LayoutObject.cpp#newcode1156 Source/core/layout/LayoutObject.cpp:1156: "data", InspectorPaintInvalidationTrackingEvent::data(this, &paintInvalidationContainer)); ...
5 years, 6 months ago (2015-05-29 18:19:12 UTC) #4
huayong.xu
@jchaffraix, please take a look again. Thanks! https://codereview.chromium.org/1161913002/diff/1/Source/core/layout/LayoutObject.cpp File Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/1161913002/diff/1/Source/core/layout/LayoutObject.cpp#newcode1156 Source/core/layout/LayoutObject.cpp:1156: "data", InspectorPaintInvalidationTrackingEvent::data(this, ...
5 years, 6 months ago (2015-06-01 02:42:39 UTC) #5
Julien - ping for review
lgtm! https://codereview.chromium.org/1161913002/diff/20001/Source/core/layout/LayoutObject.h File Source/core/layout/LayoutObject.h (left): https://codereview.chromium.org/1161913002/diff/20001/Source/core/layout/LayoutObject.h#oldcode864 Source/core/layout/LayoutObject.h:864: // FIXME: |paintInvalidationContainer| should never be 0. See ...
5 years, 6 months ago (2015-06-03 21:10:13 UTC) #6
huayong.xu
On 2015/06/03 21:10:13, Julien Chaffraix - PST wrote: > lgtm! > > https://codereview.chromium.org/1161913002/diff/20001/Source/core/layout/LayoutObject.h > File ...
5 years, 6 months ago (2015-06-04 02:20:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161913002/40001
5 years, 6 months ago (2015-06-04 02:21:13 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/65191)
5 years, 6 months ago (2015-06-04 06:06:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161913002/40001
5 years, 6 months ago (2015-06-04 06:42:37 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196476
5 years, 6 months ago (2015-06-04 07:41:55 UTC) #15
huayong.xu
@dsinclair, please take a look. Thanks! Does this patch cause the crash https://code.google.com/p/chromium/issues/detail?id=504688 ? But ...
5 years, 6 months ago (2015-06-26 10:47:06 UTC) #17
dsinclair
5 years, 6 months ago (2015-06-26 13:44:03 UTC) #18
Message was sent while issue was closed.
I don't think it's related to your CL. I've assigned to schenney@ due to a
bunch of the crashes happening inside DisplayListClient code.

dan



On Fri, Jun 26, 2015 at 6:47 AM <huayong.xu@samsung.com> wrote:

> @dsinclair, please take a look. Thanks!
> Does this patch cause the crash
> https://code.google.com/p/chromium/issues/detail?id=504688 ?
> But in this patch, I did not change the behavior of code.
> I just changed from the pointer to the reference in
> LayoutObjectChildList.cpp and LayoutView.cpp.
> Before my patch, *paintInvalidationContainer is not checked
> either.
>
> https://codereview.chromium.org/1161913002/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to blink-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698