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

Unified Diff: ui/android/resources/resource_manager_impl_unittest.cc

Issue 2746483003: ui/android: Fix Resource meta-data sharing with ResourceManager. (Closed)
Patch Set: jni Created 3 years, 9 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 | « ui/android/resources/resource_manager_impl.cc ('k') | ui/android/ui_android_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager_impl_unittest.cc
diff --git a/ui/android/resources/resource_manager_impl_unittest.cc b/ui/android/resources/resource_manager_impl_unittest.cc
index 30c18c7e5ee67f3ea1fd4fee5f0c6b56bd8f3746..8f082b0873d397f464975d09946db7ed1015ab1f 100644
--- a/ui/android/resources/resource_manager_impl_unittest.cc
+++ b/ui/android/resources/resource_manager_impl_unittest.cc
@@ -56,8 +56,8 @@ class TestResourceManagerImpl : public ResourceManagerImpl {
small_bitmap.setImmutable();
OnResourceReady(nullptr, nullptr, res_type, res_id,
- gfx::ConvertToJavaBitmap(&small_bitmap), 0, 0, 0, 0, 0, 0,
- 0, 0);
+ gfx::ConvertToJavaBitmap(&small_bitmap),
+ reinterpret_cast<intptr_t>(new Resource()));
}
protected:
« no previous file with comments | « ui/android/resources/resource_manager_impl.cc ('k') | ui/android/ui_android_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698