Index: cc/resources/picture_pile_impl.cc |
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc |
index e5531686df6f19418809f6837922322655a7dd28..c330f8f7832fea3c30fdb46ccb95b2b461bf87d5 100644 |
--- a/cc/resources/picture_pile_impl.cc |
+++ b/cc/resources/picture_pile_impl.cc |
@@ -9,6 +9,7 @@ |
#include "cc/base/region.h" |
#include "cc/debug/debug_colors.h" |
#include "cc/resources/picture_pile_impl.h" |
+#include "cc/resources/worker_pool.h" |
#include "skia/ext/analysis_canvas.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkSize.h" |
@@ -50,7 +51,8 @@ PicturePileImpl::PicturePileImpl() |
PicturePileImpl::PicturePileImpl(const PicturePileBase* other) |
: PicturePileBase(other), |
- clones_for_drawing_(ClonesForDrawing(this, num_raster_threads())) { |
+ clones_for_drawing_(ClonesForDrawing( |
+ this, WorkerPool::GetNumRasterThreads())) { |
} |
PicturePileImpl::PicturePileImpl( |