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

Unified Diff: cc/layers/texture_layer.cc

Issue 1175113010: cc: Rename visible_content_rect and content stuff on quads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename-visible-content-rect: moreandroid Created 5 years, 6 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 | « cc/layers/texture_layer.h ('k') | cc/layers/texture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer.cc
diff --git a/cc/layers/texture_layer.cc b/cc/layers/texture_layer.cc
index 965b2f3925c5dc9453874815e94f03794761263e..e1bd4ea1e656e1ded403264b4d0bd15d627d7533 100644
--- a/cc/layers/texture_layer.cc
+++ b/cc/layers/texture_layer.cc
@@ -267,16 +267,6 @@ void TextureLayer::PushPropertiesTo(LayerImpl* layer) {
}
}
-SimpleEnclosedRegion TextureLayer::VisibleContentOpaqueRegion() const {
- if (contents_opaque())
- return SimpleEnclosedRegion(visible_content_rect());
-
- if (blend_background_color_ && (SkColorGetA(background_color()) == 0xFF))
- return SimpleEnclosedRegion(visible_content_rect());
-
- return SimpleEnclosedRegion();
-}
-
TextureLayer::TextureMailboxHolder::MainThreadReference::MainThreadReference(
TextureMailboxHolder* holder)
: holder_(holder) {
« no previous file with comments | « cc/layers/texture_layer.h ('k') | cc/layers/texture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698