Commit 899672b4 authored by jbauman's avatar jbauman Committed by Commit bot

Remove modified_layers variable

It's not being used anymore

TBR=piman@chromium.org

Review URL: https://codereview.chromium.org/606503005

Cr-Commit-Position: refs/heads/master@{#297091}
parent ab0b0142
......@@ -361,12 +361,10 @@ void DelegatedFrameHost::SwapDelegatedFrame(
}
last_output_surface_id_ = output_surface_id;
}
bool modified_layers = false;
ui::Compositor* compositor = client_->GetCompositor();
if (frame_size.IsEmpty()) {
DCHECK(frame_data->resource_list.empty());
EvictDelegatedFrame();
modified_layers = true;
} else {
if (use_surfaces_) {
if (!surface_factory_) {
......@@ -386,7 +384,6 @@ void DelegatedFrameHost::SwapDelegatedFrame(
surface_factory_->Create(surface_id_, frame_size);
client_->GetLayer()->SetShowSurface(surface_id_, frame_size_in_dip);
current_surface_size_ = frame_size;
modified_layers = true;
}
scoped_ptr<cc::CompositorFrame> compositor_frame =
make_scoped_ptr(new cc::CompositorFrame());
......@@ -426,7 +423,6 @@ void DelegatedFrameHost::SwapDelegatedFrame(
} else {
frame_provider_->SetFrameData(frame_data.Pass());
}
modified_layers = true;
}
}
released_front_lock_ = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment