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

Issue 129873009: Remove RenderImage::m_needsToSetSizeForAltText (Closed)

Created:
6 years, 11 months ago by esprehn
Modified:
6 years, 11 months ago
CC:
blink-reviews, zoltan1, dsinclair, sof, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, bemjb+rendering_chromium.org, Inactive
Visibility:
Public.

Description

Remove RenderImage::m_needsToSetSizeForAltText Remove another user of StyleChangeFromRenderer. This code doesn't look needed and doesn't make sense. The test that was landed with it passes even without the code today too. The code came from http://trac.webkit.org/changeset/72040 and the hasPendingStyleRecalc() check comes from http://trac.webkit.org/changeset/72135 Checking for a pending recalc like this code did is very suspect, any number of things can cause a recalc, or schedule one later, so checking for a pending recalc inside the ::imageChanged callback doesn't make a lot of sense. Removing this code also lets us remove Document::hasPendingStyleRecalc(). In doing so I also moved methods related to the style recalc machinery to private so people will not use them. BUG=336552 R=ojan@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165553

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -26 lines) Patch
M Source/core/dom/Document.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M Source/core/rendering/RenderImage.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderImage.cpp View 3 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
esprehn
6 years, 11 months ago (2014-01-21 21:42:15 UTC) #1
ojan
lgtm
6 years, 11 months ago (2014-01-21 22:16:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/129873009/1
6 years, 11 months ago (2014-01-21 22:16:27 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=18413
6 years, 11 months ago (2014-01-21 23:05:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/129873009/1
6 years, 11 months ago (2014-01-22 00:04:25 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=18456
6 years, 11 months ago (2014-01-22 01:19:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/129873009/1
6 years, 11 months ago (2014-01-22 01:21:11 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=18484
6 years, 11 months ago (2014-01-22 04:37:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/129873009/1
6 years, 11 months ago (2014-01-22 09:38:31 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=8585
6 years, 11 months ago (2014-01-22 12:59:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/129873009/1
6 years, 11 months ago (2014-01-22 16:18:47 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=8665
6 years, 11 months ago (2014-01-22 20:08:06 UTC) #12
esprehn
6 years, 11 months ago (2014-01-22 20:55:53 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 manually as r165553 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698