| Index: content/common/host_shared_bitmap_manager.cc
|
| diff --git a/content/common/host_shared_bitmap_manager.cc b/content/common/host_shared_bitmap_manager.cc
|
| index aa0cd8129d4ee94b14910723ddb4069887bf4064..88d9f65acb6bf7788c99fbe3832f03772d13e013 100644
|
| --- a/content/common/host_shared_bitmap_manager.cc
|
| +++ b/content/common/host_shared_bitmap_manager.cc
|
| @@ -62,7 +62,7 @@ scoped_ptr<cc::SharedBitmap> HostSharedBitmapManager::GetSharedBitmapFromId(
|
| BitmapData* data = it->second.get();
|
|
|
| size_t bitmap_size;
|
| - if (!cc::SharedBitmap::GetSizeInBytes(size, &bitmap_size) ||
|
| + if (!cc::SharedBitmap::SizeInBytes(size, &bitmap_size) ||
|
| bitmap_size > data->buffer_size)
|
| return scoped_ptr<cc::SharedBitmap>();
|
|
|
|
|