Skip to content

Commit

Permalink
Reenable release check for LayerTreeHost destruction in main frame.
Browse files Browse the repository at this point in the history
Bug: 895883
Change-Id: I377cc6aaf8c9231a81eb100a720e83fa04b9d9a7
Reviewed-on: https://chromium-review.googlesource.com/c/1318570
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605499}
  • Loading branch information
Robert Flack authored and Commit Bot committed Nov 5, 2018
1 parent 0475617 commit 14fa4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cc/trees/layer_tree_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ void LayerTreeHost::InitializeProxy(std::unique_ptr<Proxy> proxy) {

LayerTreeHost::~LayerTreeHost() {
// Track when we're inside a main frame to see if compositor is being
// destroyed midway which causes a crash. crbug.com/654672
DCHECK(!inside_main_frame_);
// destroyed midway which causes a crash. crbug.com/895883
CHECK(!inside_main_frame_);
TRACE_EVENT0("cc", "LayerTreeHost::~LayerTreeHost");

// Clear any references into the LayerTreeHost.
Expand Down

0 comments on commit 14fa4ae

Please sign in to comment.