| Index: chrome/common/transport_dib_win.cc
|
| diff --git a/chrome/common/transport_dib_win.cc b/chrome/common/transport_dib_win.cc
|
| old mode 100644
|
| new mode 100755
|
| index 49cb755d3821691869dcb564f52953679097f1aa..41fe9250b4dbcfed4b89e92e78ddcb0b414c0c2b
|
| --- a/chrome/common/transport_dib_win.cc
|
| +++ b/chrome/common/transport_dib_win.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/logging.h"
|
| #include "base/sys_info.h"
|
| #include "chrome/common/transport_dib.h"
|
| +#include "skia/ext/platform_canvas.h"
|
|
|
| TransportDIB::TransportDIB() {
|
| }
|
| @@ -59,6 +60,10 @@ TransportDIB* TransportDIB::Map(TransportDIB::Handle handle) {
|
| return dib;
|
| }
|
|
|
| +skia::PlatformCanvas* TransportDIB::GetPlatformCanvas(int w, int h) {
|
| + return new skia::PlatformCanvas(w, h, true, handle());
|
| +}
|
| +
|
| void* TransportDIB::memory() const {
|
| return shared_memory_.memory();
|
| }
|
|
|