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..714eaad7b3a2182bd8e3eac19a9dbbc438a4be6d |
--- a/cc/resources/picture_pile_impl.cc |
+++ b/cc/resources/picture_pile_impl.cc |
@@ -7,8 +7,10 @@ |
#include "base/debug/trace_event.h" |
#include "cc/base/region.h" |
+#include "cc/base/switches.h" |
reveman
2014/01/07 17:24:06
no need to include this here
sohanjg
2014/01/08 05:55:43
Done.
|
#include "cc/debug/debug_colors.h" |
#include "cc/resources/picture_pile_impl.h" |
+#include "cc/resources/raster_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 +52,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( |