Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: cc/delegated_renderer_layer.cc

Issue 12486002: Fix DelegatedRendererLayer::drawsContent to correctly take setIsDrawable into account (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/delegated_renderer_layer.cc
diff --git a/cc/delegated_renderer_layer.cc b/cc/delegated_renderer_layer.cc
index 7e06e4fc52938ec8b6320040cee530b262caf852..f3cb7ee93c6b24b7ebeee8c67451e810f2582cf8 100644
--- a/cc/delegated_renderer_layer.cc
+++ b/cc/delegated_renderer_layer.cc
@@ -26,7 +26,7 @@ scoped_ptr<LayerImpl> DelegatedRendererLayer::createLayerImpl(
}
bool DelegatedRendererLayer::drawsContent() const {
- return !frame_size_.IsEmpty();
+ return Layer::drawsContent() && !frame_size_.IsEmpty();
}
void DelegatedRendererLayer::pushPropertiesTo(LayerImpl* impl) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698