Index: cc/occlusion_tracker.h |
diff --git a/cc/occlusion_tracker.h b/cc/occlusion_tracker.h |
index 841dea42e7fc77385aa9f37f9986ed924d82ee0b..8c437be385f8bd2eef1c3576558e920e7cc72d4a 100644 |
--- a/cc/occlusion_tracker.h |
+++ b/cc/occlusion_tracker.h |
@@ -8,6 +8,7 @@ |
#include "FloatQuad.h" |
#include "Region.h" |
#include "base/basictypes.h" |
+#include "cc/cc_export.h" |
#include "cc/layer_iterator.h" |
#include "ui/gfx/rect.h" |
@@ -24,9 +25,10 @@ class RenderSurface; |
// If the current layer owns a RenderSurfaceImpl, then occlusion on that RenderSurfaceImpl may also be queried via surfaceOccluded() and surfaceUnoccludedContentRect(). |
// Finally, once finished with the layer, occlusion behind the layer should be marked by calling markOccludedBehindLayer(). |
template<typename LayerType, typename RenderSurfaceType> |
-class OcclusionTrackerBase { |
+class CC_EXPORT OcclusionTrackerBase { |
public: |
- OcclusionTrackerBase(gfx::Rect rootTargetRect, bool recordMetricsForFrame); |
+ OcclusionTrackerBase(gfx::Rect rootTargetRect, bool recordMetricsForFrame); |
+ ~OcclusionTrackerBase(); |
// Called at the beginning of each step in the LayerIterator's front-to-back traversal. |
void enterLayer(const LayerIteratorPosition<LayerType>&); |