diff options
Diffstat (limited to 'chrome/common/transport_dib.h')
-rw-r--r-- | chrome/common/transport_dib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/transport_dib.h b/chrome/common/transport_dib.h index 5712827..495d29f 100644 --- a/chrome/common/transport_dib.h +++ b/chrome/common/transport_dib.h @@ -87,6 +87,9 @@ class TransportDIB { // Map the referenced transport DIB. Returns NULL on failure. static TransportDIB* Map(Handle transport_dib); + // Returns true if the handle is valid. + static bool is_valid(Handle dib); + // Returns a canvas using the memory of this TransportDIB. The returned // pointer will be owned by the caller. The bitmap will be of the given size, // which should fit inside this memory. |