Chromium Code Reviews| Index: blimp/client/feature/compositor/blimp_compositor.cc |
| diff --git a/blimp/client/feature/compositor/blimp_compositor.cc b/blimp/client/feature/compositor/blimp_compositor.cc |
| index 3bb910fd64272a2d32560081e3bbc736a4d912ce..efeb5fad855ece0f3d97b53a75b38e89298f602c 100644 |
| --- a/blimp/client/feature/compositor/blimp_compositor.cc |
| +++ b/blimp/client/feature/compositor/blimp_compositor.cc |
| @@ -165,6 +165,9 @@ void BlimpCompositor::SetVisibleInternal(bool visible) { |
| if (!host_) |
| return; |
| + VLOG(1) << "Setting visibility to: " << visible |
| + << " for render widget: " << render_widget_id_; |
| + |
| if (visible && window_ != gfx::kNullAcceleratedWidget) { |
| // If we're supposed to be visible and we have a valid |
| // gfx::AcceleratedWidget make our compositor visible. If the compositor |
| @@ -186,6 +189,7 @@ void BlimpCompositor::SetVisibleInternal(bool visible) { |
| void BlimpCompositor::CreateLayerTreeHost( |
| const cc::proto::InitializeImpl& initialize_message) { |
| DCHECK(!host_); |
| + VLOG(1) << "Creating LayerTreeHost for render widget: " << render_widget_id_; |
| // Create the LayerTreeHost |
| cc::LayerTreeHost::InitParams params; |
| @@ -217,6 +221,8 @@ void BlimpCompositor::CreateLayerTreeHost( |
| void BlimpCompositor::DestroyLayerTreeHost() { |
| DCHECK(host_); |
| + LOG(ERROR) << "Destroying LayerTreeHost for render widget: " |
|
haibinlu
2016/03/30 18:37:08
VLOG(1)
Khushal
2016/03/30 18:55:47
Done.
|
| + << render_widget_id_; |
| // Tear down the output surface connection with the old LayerTreeHost |
| // instance. |
| SetVisibleInternal(false); |