diff options
-rw-r--r-- | cc/occlusion_tracker.cc | 4 | ||||
-rw-r--r-- | cc/occlusion_tracker.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cc/occlusion_tracker.cc b/cc/occlusion_tracker.cc index fc6e733..f1f6dc5 100644 --- a/cc/occlusion_tracker.cc +++ b/cc/occlusion_tracker.cc @@ -465,7 +465,7 @@ gfx::Rect OcclusionTrackerBase<LayerType, RenderSurfaceType>::layerClipRectInTar } // Instantiate (and export) templates here for the linker. -template class CC_EXPORT OcclusionTrackerBase<Layer, RenderSurface>; -template class CC_EXPORT OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; +template class OcclusionTrackerBase<Layer, RenderSurface>; +template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; } // namespace cc diff --git a/cc/occlusion_tracker.h b/cc/occlusion_tracker.h index 7731a07..0d72470 100644 --- a/cc/occlusion_tracker.h +++ b/cc/occlusion_tracker.h @@ -102,6 +102,10 @@ private: typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; +#if !defined(COMPILER_MSVC) +extern template class OcclusionTrackerBase<Layer, RenderSurface>; +extern template class OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>; +#endif } // namespace cc |