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

Issue 2305163002: Clean up and fix logic around creating ImageBufferSurface and fallbacks (Closed)

Created:
4 years, 3 months ago by danakj
Modified:
4 years, 3 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2840
Project:
chromium
Visibility:
Public.

Description

Clean up and fix logic around creating ImageBufferSurface and fallbacks Avoids a crash if a surface is not valid, we always early out in that case. Repairs the fallback logic to not fallback in the cases where: - An external surface was provided. - is3D() is true, aka WebGL. In the above cases, we should not fallback if the surface we try to use is not valid. TBR=junov@chromium.org BUG=641896 Review-Url: https://codereview.chromium.org/2285153004 Cr-Commit-Position: refs/heads/master@{#416097} (cherry picked from commit 3c5a6056fca4642b919fb468c6ca9bfc152d1c76) Committed: https://chromium.googlesource.com/chromium/src/+/1b2b61b508e917e4e34c1c1a629efcf1c8d7197e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -16 lines) Patch
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 3 chunks +27 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
danakj
Committed patchset #1 (id:1) manually as 1b2b61b508e917e4e34c1c1a629efcf1c8d7197e.
4 years, 3 months ago (2016-09-03 00:59:06 UTC) #2
Justin Novosad
4 years, 3 months ago (2016-09-06 21:25:32 UTC) #3
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698