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

Unified Diff: ppapi/proxy/ppb_image_data_proxy.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 | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/thunk/ppb_image_data_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_image_data_proxy.cc
diff --git a/ppapi/proxy/ppb_image_data_proxy.cc b/ppapi/proxy/ppb_image_data_proxy.cc
index 6c04fc420d6dec145c64672632eef89172aa4040..43b527624eaec3f96aabf959270a269c3729a2b2 100644
--- a/ppapi/proxy/ppb_image_data_proxy.cc
+++ b/ppapi/proxy/ppb_image_data_proxy.cc
@@ -404,11 +404,11 @@ void PlatformImageData::Unmap() {
// We need to add a method to TransportDIB to release the handles.
}
-SkCanvas* PlatformImageData::GetPlatformCanvas() {
+CdlCanvas* PlatformImageData::GetPlatformCanvas() {
return mapped_canvas_.get();
}
-SkCanvas* PlatformImageData::GetCanvas() {
+CdlCanvas* PlatformImageData::GetCanvas() {
return mapped_canvas_.get();
}
@@ -443,11 +443,11 @@ void SimpleImageData::Unmap() {
shm_.Unmap();
}
-SkCanvas* SimpleImageData::GetPlatformCanvas() {
+CdlCanvas* SimpleImageData::GetPlatformCanvas() {
return NULL; // No canvas available.
}
-SkCanvas* SimpleImageData::GetCanvas() {
+CdlCanvas* SimpleImageData::GetCanvas() {
return NULL; // No canvas available.
}
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/thunk/ppb_image_data_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698