summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/image_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/image_data.cc')
-rw-r--r--ppapi/proxy/image_data.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/proxy/image_data.cc b/ppapi/proxy/image_data.cc
index c01896d..2af7026 100644
--- a/ppapi/proxy/image_data.cc
+++ b/ppapi/proxy/image_data.cc
@@ -26,6 +26,10 @@ ImageData::~ImageData() {
Unmap();
}
+ImageData* ImageData::AsImageData() {
+ return this;
+}
+
void* ImageData::Map() {
#if defined(OS_WIN)
NOTIMPLEMENTED();