Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: cc/resources/raster_worker_pool.h

Issue 22796028: Updating Chromium to Skia SkBaseDevice/SkBitmapDevice split (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor cleanup Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/resources/raster_worker_pool.h
diff --git a/cc/resources/raster_worker_pool.h b/cc/resources/raster_worker_pool.h
index 8c4b4934c56e6a1fecd59b2de4d4210387ed303d..1699a5ff5387e1e2bb2a887ed15ba3e7d4d0abd0 100644
--- a/cc/resources/raster_worker_pool.h
+++ b/cc/resources/raster_worker_pool.h
@@ -15,7 +15,8 @@
#include "cc/resources/worker_pool.h"
#include "third_party/khronos/GLES2/gl2.h"
danakj 2013/08/22 19:48:30 drop the newline here if you're making it an inclu
robertphillips 2013/08/22 19:55:53 Done.
-class SkDevice;
+// TODO(robertphillips): change this to "class SkBaseDevice;"
danakj 2013/08/22 19:48:30 and this?
+#include "third_party/skia/include/core/SkDevice.h"
namespace skia {
class LazyPixelRef;
@@ -37,7 +38,8 @@ class CC_EXPORT RasterWorkerPoolTask
// Returns true if |device| was written to. False indicate that
// the content of |device| is undefined and the resource doesn't
// need to be initialized.
- virtual bool RunOnWorkerThread(SkDevice* device, unsigned thread_index) = 0;
+ virtual bool RunOnWorkerThread(SkBaseDevice* device,
+ unsigned thread_index) = 0;
virtual void CompleteOnOriginThread() = 0;
void DidRun(bool was_canceled);

Powered by Google App Engine
This is Rietveld 408576698