Index: chrome/common/transport_dib_mac.cc |
=================================================================== |
--- chrome/common/transport_dib_mac.cc (revision 17971) |
+++ chrome/common/transport_dib_mac.cc (working copy) |
@@ -52,6 +52,11 @@ |
return dib; |
} |
+skia::PlatformCanvas* TransportDIB::GetPlatformCanvas(int w, int h) { |
+ return new skia::PlatformCanvas(w, h, true, |
+ reinterpret_cast<uint8_t*>(dib->memory())); |
+} |
+ |
void* TransportDIB::memory() const { |
return shared_memory_.memory(); |
} |