summaryrefslogtreecommitdiffstats
path: root/cc/occlusion_tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/occlusion_tracker.h')
-rw-r--r--cc/occlusion_tracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/occlusion_tracker.h b/cc/occlusion_tracker.h
index 2c089d4..841dea4 100644
--- a/cc/occlusion_tracker.h
+++ b/cc/occlusion_tracker.h
@@ -46,7 +46,7 @@ public:
OverdrawMetrics& overdrawMetrics() const { return *m_overdrawMetrics.get(); }
// Gives the region of the screen that is not occluded by something opaque.
- Region computeVisibleRegionInScreen() const { return subtract(Region(cc::IntRect(m_rootTargetRect)), m_stack.last().occlusionInScreen); }
+ Region computeVisibleRegionInScreen() const { return subtract(Region(m_rootTargetRect), m_stack.last().occlusionInScreen); }
void setMinimumTrackingSize(const gfx::Size& size) { m_minimumTrackingSize = size; }