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

Issue 446593004: Added ASSERT(!document.childNeedsDistributionRecalc) to NodeRenderingTraversal::parent (Closed)

Created:
6 years, 4 months ago by deepak.sa
Modified:
6 years, 4 months ago
Reviewers:
esprehn
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, chromiumbugtracker_adobe.com, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, rwlbuis, rune+blink, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Added ASSERT(!document.childNeedsDistributionRecalc) to NodeRenderingTraversal::parent Assert is added inorder to ensure that the callers of NodeRenderingTraversal::parent should do updateDistributionForNodeIfNeeded(...) before using it. Adding call updateDistributionForNodeIfNeeded(...) to ElementResolveContext to avoid assertion failure. BUG=338970

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M Source/core/css/resolver/ElementResolveContext.cpp View 1 chunk +1 line, -0 lines 1 comment Download
M Source/core/dom/NodeRenderingTraversal.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
deepak.sa
PTAL?
6 years, 4 months ago (2014-08-05 16:08:41 UTC) #1
esprehn
https://codereview.chromium.org/446593004/diff/1/Source/core/css/resolver/ElementResolveContext.cpp File Source/core/css/resolver/ElementResolveContext.cpp (right): https://codereview.chromium.org/446593004/diff/1/Source/core/css/resolver/ElementResolveContext.cpp#newcode47 Source/core/css/resolver/ElementResolveContext.cpp:47: element.document().updateDistributionForNodeIfNeeded(&element); This isn't the right place for this, we ...
6 years, 4 months ago (2014-08-06 17:16:37 UTC) #2
deepak.sa
On 2014/08/06 17:16:37, esprehn wrote: > What's the crash stack you're trying to fix? These ...
6 years, 4 months ago (2014-08-07 11:27:42 UTC) #3
deepak.sa
Ping!
6 years, 4 months ago (2014-08-11 13:41:10 UTC) #4
deepak.sa
I have added the call stack you requested for. Please take a look. Thanks!
6 years, 4 months ago (2014-08-13 10:55:00 UTC) #5
esprehn
On 2014/08/13 at 10:55:00, deepak.sa wrote: > I have added the call stack you requested ...
6 years, 4 months ago (2014-08-16 08:05:42 UTC) #6
deepak.sa
6 years, 4 months ago (2014-08-18 05:42:52 UTC) #7
On 2014/08/16 08:05:42, esprehn wrote:
> On 2014/08/13 at 10:55:00, deepak.sa wrote:
> > I have added the call stack you requested for. Please take a look.
> > Thanks!
> 
> I think hayato@ took care of this.

Ok! Thanks for the update.

This issue has been fixed here: https://codereview.chromium.org/448893003/

Powered by Google App Engine
This is Rietveld 408576698