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

Unified Diff: ppapi/proxy/ppb_image_data_proxy.cc

Issue 2618373002: Remove PPB_ImageData_API::GetPlatformCanvas() (Closed)
Patch Set: Created 3 years, 11 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
« 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..c04f2aa7c1c66b9d35d0807a1f4b0c85ccfb62ec 100644
--- a/ppapi/proxy/ppb_image_data_proxy.cc
+++ b/ppapi/proxy/ppb_image_data_proxy.cc
@@ -404,10 +404,6 @@ void PlatformImageData::Unmap() {
// We need to add a method to TransportDIB to release the handles.
}
-SkCanvas* PlatformImageData::GetPlatformCanvas() {
- return mapped_canvas_.get();
-}
-
SkCanvas* PlatformImageData::GetCanvas() {
return mapped_canvas_.get();
}
@@ -443,10 +439,6 @@ void SimpleImageData::Unmap() {
shm_.Unmap();
}
-SkCanvas* SimpleImageData::GetPlatformCanvas() {
- return NULL; // No canvas available.
-}
-
SkCanvas* 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