summaryrefslogtreecommitdiffstats
path: root/chrome/common/transport_dib_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/transport_dib_mac.cc')
-rwxr-xr-xchrome/common/transport_dib_mac.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/transport_dib_mac.cc b/chrome/common/transport_dib_mac.cc
index 638866c..6eb6c11 100755
--- a/chrome/common/transport_dib_mac.cc
+++ b/chrome/common/transport_dib_mac.cc
@@ -55,7 +55,8 @@ TransportDIB* TransportDIB::Map(TransportDIB::Handle handle) {
skia::PlatformCanvas* TransportDIB::GetPlatformCanvas(int w, int h) {
return new skia::PlatformCanvas(w, h, true,
- reinterpret_cast<uint8_t*>(dib->memory()));
+ reinterpret_cast<uint8_t*>(memory()));
+
}
void* TransportDIB::memory() const {