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

Issue 1473023007: Fix the crash problem of WebGL2 Query api. (Closed)

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

Description

Fix the crash problem of WebGL2 Query api. It need to exception handling for null argument. BUG=561217 Committed: https://crrev.com/9945a7390fca9a23c5ce365c5e4f39c2bf908cd6 Cr-Commit-Position: refs/heads/master@{#362879}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove GL error. #

Total comments: 1

Patch Set 3 : Add the checking for context lost. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
cyzero.kim
Please review this one.
5 years ago (2015-11-25 05:13:06 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/1473023007/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1473023007/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode1597 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:1597: synthesizeGLError(GL_INVALID_OPERATION, "deleteQuery", "query object is null"); You should follow ...
5 years ago (2015-11-25 18:16:34 UTC) #3
cyzero.kim
On 2015/11/25 18:16:34, Zhenyao Mo wrote: > https://codereview.chromium.org/1473023007/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > ...
5 years ago (2015-11-26 13:21:29 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/1473023007/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1473023007/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode1596 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:1596: if (!query) You should also check for isContextLost() here.
5 years ago (2015-11-30 18:16:48 UTC) #5
cyzero.kim
On 2015/11/30 18:16:48, Zhenyao Mo wrote: > https://codereview.chromium.org/1473023007/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > ...
5 years ago (2015-12-01 13:16:43 UTC) #6
Zhenyao Mo
LGTM
5 years ago (2015-12-01 18:36:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473023007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473023007/40001
5 years ago (2015-12-03 01:58:20 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 03:05:19 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-03 03:06:09 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9945a7390fca9a23c5ce365c5e4f39c2bf908cd6
Cr-Commit-Position: refs/heads/master@{#362879}

Powered by Google App Engine
This is Rietveld 408576698