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

Unified Diff: cc/layers/layer.h

Issue 202523002: cc: Replace Region with SimpleEnclosedRegion for occlusion tracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simpleregion: . Created 6 years, 4 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index dfbbdf7b6f732d3591cc6852cd262b9e2ced25d7..61ef3f8c3ac701b0b89f87fc74886a2189665774 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -60,6 +60,7 @@ class PriorityCalculator;
class RenderingStatsInstrumentation;
class ResourceUpdateQueue;
class ScrollbarLayerInterface;
+class SimpleEnclosedRegion;
struct AnimationEvent;
template <typename LayerType>
class OcclusionTracker;
@@ -417,7 +418,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
void RemoveLayerAnimationEventObserver(
LayerAnimationEventObserver* animation_observer);
- virtual Region VisibleContentOpaqueRegion() const;
+ virtual SimpleEnclosedRegion VisibleContentOpaqueRegion() const;
virtual ScrollbarLayerInterface* ToScrollbarLayer();

Powered by Google App Engine
This is Rietveld 408576698