Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: ui/base/resource/resource_bundle_unittest.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_main_nacl.cc ('k') | webkit/browser/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ppapi/proxy/plugin_main_nacl.cc ('k') | webkit/browser/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698