Index: app/surface/accelerated_surface_mac.cc |
diff --git a/app/surface/accelerated_surface_mac.cc b/app/surface/accelerated_surface_mac.cc |
index ab5529ebbb7d8f283032878ac2176b4df6bb93a0..632260392ef3edef60a32416f9f263d2fe990927 100644 |
--- a/app/surface/accelerated_surface_mac.cc |
+++ b/app/surface/accelerated_surface_mac.cc |
@@ -307,7 +307,7 @@ TransportDIB::Handle AcceleratedSurface::SetTransportDIBSize( |
if (dib_alloc_callback_.get()) { |
dib_alloc_callback_->Run(dib_size, &dib_handle); |
} |
- if (!TransportDIB::is_valid(dib_handle)) { |
+ if (!TransportDIB::is_valid_handle(dib_handle)) { |
// If the allocator fails, it means the DIB was not created in the browser, |
// so there is no need to run the deallocator here. |
return TransportDIB::DefaultHandleValue(); |