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

Issue 552053003: CanvasRenderingContext2D should update the render tree to avoid stale computed style. (Closed)

Created:
6 years, 3 months ago by vivekg_samsung
Modified:
6 years, 3 months ago
CC:
aandrey+blink_chromium.org, blink-reviews, blink-reviews-html_chromium.org, Rik, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

CanvasRenderingContext2D should update the render tree to avoid stale computed style. Before accessing the computed style for populating 'font' property of CanvasRenderingContext2D we have to make sure we have a up-to-date render tree to avoid any stale reference. BUG=411058 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182137

Patch Set 1 #

Patch Set 2 : Test added! #

Total comments: 1

Patch Set 3 : Changed the test! #

Patch Set 4 : Removed unnecessary code from tests! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
A LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/canvas/canvas-set-font-with-updated-style-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
vivekg
PTAL, thanks!
6 years, 3 months ago (2014-09-10 13:16:25 UTC) #2
esprehn
On 2014/09/10 13:16:25, vivekg_ wrote: > PTAL, thanks! You need a test, should be easy ...
6 years, 3 months ago (2014-09-10 19:50:31 UTC) #3
vivekg
On 2014/09/10 at 19:50:31, esprehn wrote: > On 2014/09/10 13:16:25, vivekg_ wrote: > > PTAL, ...
6 years, 3 months ago (2014-09-11 00:30:03 UTC) #4
esprehn
On 2014/09/11 at 00:30:03, vivekg wrote: > On 2014/09/10 at 19:50:31, esprehn wrote: > > ...
6 years, 3 months ago (2014-09-11 00:52:20 UTC) #5
vivekg
Uploaded a new patch, PTAL. Thanks!
6 years, 3 months ago (2014-09-11 07:31:19 UTC) #6
vivekg
On 2014/09/11 07:31:19, vivekg_ wrote: > Uploaded a new patch, PTAL. Thanks! Friendly ping.
6 years, 3 months ago (2014-09-11 23:07:26 UTC) #7
vivekg
@esprehn any feedback? PTAL.
6 years, 3 months ago (2014-09-15 23:02:07 UTC) #8
Justin Novosad
https://codereview.chromium.org/552053003/diff/20001/LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html File LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html (right): https://codereview.chromium.org/552053003/diff/20001/LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html#newcode45 LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html:45: var expectedFontSize = drawCanvasText('expected', 'Some Text', true); This test ...
6 years, 3 months ago (2014-09-16 20:58:58 UTC) #10
vivekg
On 2014/09/16 at 20:58:58, junov wrote: > https://codereview.chromium.org/552053003/diff/20001/LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html > File LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html (right): > > https://codereview.chromium.org/552053003/diff/20001/LayoutTests/fast/canvas/canvas-set-font-with-updated-style.html#newcode45 ...
6 years, 3 months ago (2014-09-17 00:28:15 UTC) #11
Justin Novosad
On 2014/09/17 00:28:15, vivekg_ wrote: > On 2014/09/16 at 20:58:58, junov wrote: > > > ...
6 years, 3 months ago (2014-09-17 00:46:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552053003/60001
6 years, 3 months ago (2014-09-17 01:27:01 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/27373)
6 years, 3 months ago (2014-09-17 03:14:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552053003/60001
6 years, 3 months ago (2014-09-17 03:16:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/27388)
6 years, 3 months ago (2014-09-17 05:00:35 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552053003/60001
6 years, 3 months ago (2014-09-17 05:08:59 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/27396)
6 years, 3 months ago (2014-09-17 06:46:57 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552053003/60001
6 years, 3 months ago (2014-09-17 06:50:28 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 07:24:44 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 182137

Powered by Google App Engine
This is Rietveld 408576698