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

Issue 1380633003: Fixed WebGL printing crash due to failed buffer allocation (Closed)

Created:
5 years, 2 months ago by Justin Novosad
Modified:
5 years, 2 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land : Fixed WebGL printing crash due to failed buffer allocation Change since previous revert: reduced canvas size in layout test to prevent OOM from crbug.com/538697 BUG=537711 R=kbr@chromium.org Committed: https://crrev.com/596b53b8c357eeb8453fc613fd5834c292ae5b96 Cr-Commit-Position: refs/heads/master@{#352170}

Patch Set 1 #

Total comments: 3

Patch Set 2 : better #

Patch Set 3 : reduced canvas size in test to prevent OOM on win7 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/printing/webgl-oversized-printing.html View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/printing/webgl-oversized-printing-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (3 generated)
Justin Novosad
PTAL
5 years, 2 months ago (2015-10-01 01:50:36 UTC) #1
Ken Russell (switch to Gerrit)
Thanks for working on this. https://codereview.chromium.org/1380633003/diff/1/third_party/WebKit/LayoutTests/printing/webgl-oversized-printing.html File third_party/WebKit/LayoutTests/printing/webgl-oversized-printing.html (right): https://codereview.chromium.org/1380633003/diff/1/third_party/WebKit/LayoutTests/printing/webgl-oversized-printing.html#newcode13 third_party/WebKit/LayoutTests/printing/webgl-oversized-printing.html:13: ctx.clearColor(0, 0, 0, 0); ...
5 years, 2 months ago (2015-10-01 02:33:30 UTC) #2
Justin Novosad
https://codereview.chromium.org/1380633003/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1380633003/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode1724 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1724: markContextChanged(CanvasChanged); On 2015/10/01 02:33:30, Ken Russell wrote: > This ...
5 years, 2 months ago (2015-10-01 02:40:57 UTC) #3
Justin Novosad
Figured it out. PTAL.
5 years, 2 months ago (2015-10-01 04:26:03 UTC) #4
Ken Russell (switch to Gerrit)
Thanks. LGTM
5 years, 2 months ago (2015-10-01 04:37:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380633003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380633003/20001
5 years, 2 months ago (2015-10-01 13:34:16 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-01 13:40:11 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dda8a88830593f605501500c4de9c870e70c94eb Cr-Commit-Position: refs/heads/master@{#351790}
5 years, 2 months ago (2015-10-01 13:40:57 UTC) #9
dmurph
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1387563004/ by dmurph@chromium.org. ...
5 years, 2 months ago (2015-10-02 18:31:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380633003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380633003/40001
5 years, 2 months ago (2015-10-02 21:19:20 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-02 23:19:14 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 23:20:23 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/596b53b8c357eeb8453fc613fd5834c292ae5b96
Cr-Commit-Position: refs/heads/master@{#352170}

Powered by Google App Engine
This is Rietveld 408576698