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

Unified Diff: cc/test/fake_engine_picture_cache.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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
« no previous file with comments | « cc/test/fake_engine_picture_cache.h ('k') | cc/test/fake_raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_engine_picture_cache.cc
diff --git a/cc/test/fake_engine_picture_cache.cc b/cc/test/fake_engine_picture_cache.cc
index 2c7b839511f747a26fccd74b96b22217362a1793..71aa108832e1f10d09424fcc4c3ad3bf943c1e65 100644
--- a/cc/test/fake_engine_picture_cache.cc
+++ b/cc/test/fake_engine_picture_cache.cc
@@ -10,7 +10,7 @@
#include "cc/blimp/picture_data.h"
#include "cc/playback/display_item_list.h"
#include "cc/test/picture_cache_model.h"
-#include "third_party/skia/include/core/SkPicture.h"
+#include "skia/ext/cdl_picture.h"
namespace cc {
@@ -25,7 +25,7 @@ void FakeEnginePictureCache::MarkAllSkPicturesAsUsed(
return;
for (auto it = display_list->begin(); it != display_list->end(); ++it) {
- sk_sp<const SkPicture> picture = it->GetPicture();
+ sk_sp<const CdlPicture> picture = it->GetPicture();
if (!picture)
continue;
@@ -37,7 +37,7 @@ const std::vector<uint32_t>& FakeEnginePictureCache::GetAllUsedPictureIds() {
return used_picture_ids_;
}
-void FakeEnginePictureCache::MarkUsed(const SkPicture* picture) {
+void FakeEnginePictureCache::MarkUsed(const CdlPicture* picture) {
if (model_)
model_->AddPicture(picture);
used_picture_ids_.push_back(picture->uniqueID());
« no previous file with comments | « cc/test/fake_engine_picture_cache.h ('k') | cc/test/fake_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698