| Index: content/renderer/pepper/pepper_compositor_host.cc
|
| diff --git a/content/renderer/pepper/pepper_compositor_host.cc b/content/renderer/pepper/pepper_compositor_host.cc
|
| index 8df4f6cea8ff0e64200a528ab0259d5e15395768..c0038dc235969e5c08a92207a2cdf660f2898d67 100644
|
| --- a/content/renderer/pepper/pepper_compositor_host.cc
|
| +++ b/content/renderer/pepper/pepper_compositor_host.cc
|
| @@ -410,8 +410,8 @@ int32_t PepperCompositorHost::OnHostMsgCommitLayers(
|
| // We need to force a commit for each CommitLayers() call, even if no layers
|
| // changed since the last call to CommitLayers(). This is so
|
| // WiewInitiatedPaint() will always be called.
|
| - if (layer_->GetLayerTree())
|
| - layer_->GetLayerTree()->SetNeedsCommit();
|
| + if (layer_->layer_tree_host())
|
| + layer_->layer_tree_host()->SetNeedsCommit();
|
|
|
| // If the host is not bound to the instance, return PP_OK immediately.
|
| if (!bound_instance_)
|
|
|