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

Issue 2906583003: Add null checks of GetImageObserver() in BitmapImage (Closed)

Created:
3 years, 7 months ago by hiroshige
Modified:
3 years, 7 months ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, fmalita+watch_chromium.org, Rik, Justin Novosad, blink-reviews, kinuko+watch, Stephen Chennney, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add null checks of GetImageObserver() in BitmapImage Because GetImageObserver() can be null but some callsites have used it without null checks. This CL adds null checks to BitmapImage, while [1] adds to SVG-related classes. [1] https://codereview.chromium.org/2905833003/ BUG=726220 Review-Url: https://codereview.chromium.org/2906583003 Cr-Commit-Position: refs/heads/master@{#475147} Committed: https://chromium.googlesource.com/chromium/src/+/1c33b530e841ad76be6e6c472711fda4e09c9d4d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M third_party/WebKit/Source/platform/graphics/BitmapImage.cpp View 2 chunks +5 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
hiroshige
PTAL.
3 years, 7 months ago (2017-05-25 22:18:02 UTC) #6
haraken
LGTM. Can we add a test?
3 years, 7 months ago (2017-05-25 22:18:46 UTC) #7
hiroshige
On 2017/05/25 22:18:46, haraken wrote: > LGTM. Can we add a test? I haven't figure ...
3 years, 7 months ago (2017-05-25 23:19:47 UTC) #8
kouhei (in TOK)
lgtm. I'm fine proceeding w/o test as I'm convinced this is subtle timing issue
3 years, 7 months ago (2017-05-26 11:14:14 UTC) #11
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/2906583003/1
3 years, 7 months ago (2017-05-26 21:47:04 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 21:52:31 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1c33b530e841ad76be6e6c472711...

Powered by Google App Engine
This is Rietveld 408576698