diff options
Diffstat (limited to 'ui/base/resource/resource_bundle_unittest.cc')
-rw-r--r-- | ui/base/resource/resource_bundle_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/base/resource/resource_bundle_unittest.cc b/ui/base/resource/resource_bundle_unittest.cc index 6c75f7a..bbfc5332 100644 --- a/ui/base/resource/resource_bundle_unittest.cc +++ b/ui/base/resource/resource_bundle_unittest.cc @@ -265,8 +265,7 @@ TEST_F(ResourceBundleTest, DelegateLoadDataResourceBytes) { ui::ScaleFactor scale_factor = ui::SCALE_FACTOR_NONE; EXPECT_CALL(delegate, LoadDataResourceBytes(resource_id, scale_factor)) - .Times(1) - .WillOnce(Return(static_memory)); + .Times(1).WillOnce(Return(static_memory.get())); scoped_refptr<base::RefCountedStaticMemory> result = resource_bundle->LoadDataResourceBytesForScale(resource_id, scale_factor); |