layer_tree_host()->StopRateLimiter();
client_ = NULL;
ClearTexture();
+ UpdateDrawsContent(HasDrawableContent());
}
void TextureLayer::ClearTexture() {
else
SetNeedsPushProperties();
+ UpdateDrawsContent(HasDrawableContent());
// The active frame needs to be replaced and the mailbox returned before the
// commit is called complete.
SetNextCommitWaitsForActivation();
Layer::SetLayerTreeHost(host);
}
-bool TextureLayer::DrawsContent() const {
- return (client_ || holder_ref_) && Layer::DrawsContent();
+bool TextureLayer::HasDrawableContent() const {
+ return (client_ || holder_ref_) && Layer::HasDrawableContent();
}
bool TextureLayer::Update(ResourceUpdateQueue* queue,