Index: ui/base/resource/resource_bundle_unittest.cc |
diff --git a/ui/base/resource/resource_bundle_unittest.cc b/ui/base/resource/resource_bundle_unittest.cc |
index 6c75f7acd6479d54190c161d1ee96c3fc9029d32..bbfc53324e2b689dadefb9f131f7e0ef90f68d43 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); |