Index: cc/resources/picture_pile_impl.cc |
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc |
old mode 100644 |
new mode 100755 |
index b6f4d77156f57c8d94ffdd377c948e97674cf37a..4c54cb2183303aa2c19d407010af5b3e4820a36b |
--- 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/raster_worker_pool.h" |
reveman
2014/01/08 07:06:40
nit: cc/resources/worker_pool.h is enough here
sohanjg
2014/01/09 07:25:32
Done.
|
#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( |