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

Issue 15743022: Fix potential NULL pointer in LayerTreeHostImpl (Closed)

Created:
7 years, 7 months ago by joth
Modified:
7 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, aelias_OOO_until_Jul13
Visibility:
Public.

Description

Fix potential NULL pointer in LayerTreeHostImpl When using tile-free renderering, if ActivationStateAsValue() is called when there is a pending tree it would hit a NULL pointer on tile_manager_. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202008

Patch Set 1 #

Total comments: 2

Patch Set 2 : Dana comments 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
joth
I had to remove the DCHECK to be able to effectively test this, but AFAICT ...
7 years, 7 months ago (2013-05-23 01:37:10 UTC) #1
enne (OOO)
lgtm
7 years, 7 months ago (2013-05-23 01:56:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15743022/1
7 years, 7 months ago (2013-05-23 01:57:30 UTC) #3
danakj
https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2211 cc/trees/layer_tree_host_impl.cc:2211: state->Set("tile_manager", tile_manager_ ? Other places (AsValue() above this) just ...
7 years, 7 months ago (2013-05-23 14:25:54 UTC) #4
commit-bot: I haz the power
List of reviewers changed. danakj@chromium.org did a drive-by without LGTM'ing!
7 years, 7 months ago (2013-05-23 19:15:25 UTC) #5
joth
https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2211 cc/trees/layer_tree_host_impl.cc:2211: state->Set("tile_manager", tile_manager_ ? On 2013/05/23 14:25:54, danakj wrote: > ...
7 years, 7 months ago (2013-05-23 19:46:17 UTC) #6
danakj
On 2013/05/23 19:46:17, joth wrote: > https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/15743022/diff/1/cc/trees/layer_tree_host_impl.cc#newcode2211 > ...
7 years, 7 months ago (2013-05-23 20:00:03 UTC) #7
danakj
LGTM tho :)
7 years, 7 months ago (2013-05-23 20:00:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/15743022/26001
7 years, 7 months ago (2013-05-23 21:31:37 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 07:31:53 UTC) #10
Message was sent while issue was closed.
Change committed as 202008

Powered by Google App Engine
This is Rietveld 408576698