| Index: content/browser/compositor/delegated_frame_host.cc
|
| diff --git a/content/browser/compositor/delegated_frame_host.cc b/content/browser/compositor/delegated_frame_host.cc
|
| index 9c313b4e386b69094d07db88381ef5f9fe44374a..b15b49a1a8047b952c202f440d632b437da56945 100644
|
| --- a/content/browser/compositor/delegated_frame_host.cc
|
| +++ b/content/browser/compositor/delegated_frame_host.cc
|
| @@ -319,7 +319,7 @@ void DelegatedFrameHost::SwapDelegatedFrame(
|
| std::vector<uint32_t>* satisfies_sequences) {
|
| DCHECK(!frame_data->render_pass_list.empty());
|
|
|
| - cc::RenderPass* root_pass = frame_data->render_pass_list.back();
|
| + cc::RenderPass* root_pass = frame_data->render_pass_list.back().get();
|
|
|
| gfx::Size frame_size = root_pass->output_rect.size();
|
| gfx::Size frame_size_in_dip =
|
| @@ -349,7 +349,7 @@ void DelegatedFrameHost::SwapDelegatedFrame(
|
| damage_rect_in_dip = gfx::Rect(frame_size_in_dip);
|
|
|
| // Give the same damage rect to the compositor.
|
| - cc::RenderPass* root_pass = frame_data->render_pass_list.back();
|
| + cc::RenderPass* root_pass = frame_data->render_pass_list.back().get();
|
| root_pass->damage_rect = damage_rect;
|
| }
|
|
|
|
|