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

Issue 710153002: Remove some null checks in MediaValuesCached that are now redundant. (Closed)

Created:
6 years, 1 month ago by dcheng
Modified:
6 years, 1 month ago
Reviewers:
Yoav Weiss
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis
Project:
blink
Visibility:
Public.

Description

Remove some null checks in MediaValuesCached that are now redundant. Scripting is forbidden during Document::detach() now, so these checks are no longer needed. BUG=367210, 371084 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185061

Patch Set 1 #

Total comments: 2

Patch Set 2 : Asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M Source/core/css/MediaValuesCached.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
dcheng
6 years, 1 month ago (2014-11-10 18:27:29 UTC) #2
Yoav Weiss
LGTM, with a comment. https://codereview.chromium.org/710153002/diff/1/Source/core/css/MediaValuesCached.cpp File Source/core/css/MediaValuesCached.cpp (left): https://codereview.chromium.org/710153002/diff/1/Source/core/css/MediaValuesCached.cpp#oldcode35 Source/core/css/MediaValuesCached.cpp:35: if (!frame || !frame->view() || ...
6 years, 1 month ago (2014-11-10 19:28:47 UTC) #3
dcheng
https://codereview.chromium.org/710153002/diff/1/Source/core/css/MediaValuesCached.cpp File Source/core/css/MediaValuesCached.cpp (left): https://codereview.chromium.org/710153002/diff/1/Source/core/css/MediaValuesCached.cpp#oldcode35 Source/core/css/MediaValuesCached.cpp:35: if (!frame || !frame->view() || !frame->document() || !frame->document()->renderView()) On ...
6 years, 1 month ago (2014-11-10 19:41:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/710153002/20001
6 years, 1 month ago (2014-11-10 19:42:44 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 20:55:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185061

Powered by Google App Engine
This is Rietveld 408576698