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

Issue 1801543002: HTMLImageElement::cachedImage() may return null in ImageDocument construction (Closed)

Created:
4 years, 9 months ago by yhirano
Modified:
4 years, 9 months ago
Reviewers:
Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HTMLImageElement::cachedImage() may return null in ImageDocument construction This is a speculative fix for a crash. BUG=594467 Committed: https://crrev.com/bf1150eba29bcb1f20ca5a98d1098ed778fc1c27 Cr-Commit-Position: refs/heads/master@{#381893}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 16 (7 generated)
yhirano
4 years, 9 months ago (2016-03-14 09:02:09 UTC) #3
Nate Chapin
https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode230 third_party/WebKit/Source/core/html/ImageDocument.cpp:230: if (loader() && m_imageElement->cachedImage()) Do we know why this ...
4 years, 9 months ago (2016-03-15 21:27:53 UTC) #4
yhirano
https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode230 third_party/WebKit/Source/core/html/ImageDocument.cpp:230: if (loader() && m_imageElement->cachedImage()) On 2016/03/15 21:27:53, Nate Chapin ...
4 years, 9 months ago (2016-03-16 08:40:48 UTC) #5
Nate Chapin
On 2016/03/16 08:40:48, yhirano wrote: > https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp > File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): > > https://codereview.chromium.org/1801543002/diff/1/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode230 > ...
4 years, 9 months ago (2016-03-17 22:40:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801543002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801543002/1
4 years, 9 months ago (2016-03-18 01:04:22 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/37659) cast_shell_android on tryserver.chromium.android (JOB_FAILED, ...
4 years, 9 months ago (2016-03-18 01:07:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801543002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801543002/1
4 years, 9 months ago (2016-03-18 04:12:29 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-18 05:13:14 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 05:15:15 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bf1150eba29bcb1f20ca5a98d1098ed778fc1c27
Cr-Commit-Position: refs/heads/master@{#381893}

Powered by Google App Engine
This is Rietveld 408576698