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

Issue 2540153003: Fix WebGL use of base/numerics (Closed)

Created:
4 years ago by jschuh
Modified:
4 years ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, haraken, Rik, f(malita), blink-reviews, piman+watch_chromium.org, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis, Zhenyao Mo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix WebGL use of base/numerics TBR=kbr@chromium.org BUG=668713 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/42745d115830d552eaa6adddc047223f49037c1a Cr-Commit-Position: refs/heads/master@{#435310}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 chunk +1 line, -2 lines 1 comment Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp View 2 chunks +2 lines, -2 lines 1 comment Download

Messages

Total messages: 13 (7 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540153003/1
4 years ago (2016-11-30 15:58:26 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 17:25:20 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/42745d115830d552eaa6adddc047223f49037c1a Cr-Commit-Position: refs/heads/master@{#435310}
4 years ago (2016-11-30 17:28:52 UTC) #10
Ken Russell (switch to Gerrit)
Thanks Justin for helping us clean this up. Kai: do you think you could follow ...
4 years ago (2016-11-30 21:50:17 UTC) #11
Ken Russell (switch to Gerrit)
LGTM after the fact FWIW.
4 years ago (2016-11-30 21:50:47 UTC) #12
Kai Ninomiya
4 years ago (2016-11-30 21:57:46 UTC) #13
Message was sent while issue was closed.
On 2016/11/30 21:50:17, Ken Russell wrote:
> Thanks Justin for helping us clean this up.
> 
> Kai: do you think you could follow up this patch with the requested minor
> fixups?
> 
>
https://codereview.chromium.org/2540153003/diff/1/third_party/WebKit/Source/m...
> File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
> (right):
> 
>
https://codereview.chromium.org/2540153003/diff/1/third_party/WebKit/Source/m...
> third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4104:
> (pixels->byteLength() - offsetInBytes).ValueOrDie())) {
> We should change this code so that if the temporary value isn't valid, we
> generate GL_INVALID_VALUE.
> 
>
https://codereview.chromium.org/2540153003/diff/1/third_party/WebKit/Source/p...
> File third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
> (right):
> 
>
https://codereview.chromium.org/2540153003/diff/1/third_party/WebKit/Source/p...
> third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp:2663:
> unsigned residual = (checkedValue % params.alignment).ValueOrDie();
> Same here.

OK, sure.

Powered by Google App Engine
This is Rietveld 408576698