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

Unified Diff: ui/android/resources/resource_manager.h

Issue 2325623003: Replace IDMap with std::unordered_map in ResourceManager (Closed)
Patch Set: nit Created 4 years, 3 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 | « no previous file | ui/android/resources/resource_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager.h
diff --git a/ui/android/resources/resource_manager.h b/ui/android/resources/resource_manager.h
index 81e004b81d76be0340ea318005e78e67c136b6b3..9b207aa41f299f37fdb491e95ca1adf885108933 100644
--- a/ui/android/resources/resource_manager.h
+++ b/ui/android/resources/resource_manager.h
@@ -11,6 +11,7 @@
#include "base/android/jni_android.h"
#include "cc/resources/scoped_ui_resource.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/android/resources/crushed_sprite_resource.h"
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/insets_f.h"
@@ -64,7 +65,8 @@ class UI_ANDROID_EXPORT ResourceManager {
// Return a handle to a static resource specified by |res_id| that has a tint
// of |tint_color| applied to it.
- virtual Resource* GetStaticResourceWithTint(int res_id, int tint_color) = 0;
+ virtual Resource* GetStaticResourceWithTint(int res_id,
+ SkColor tint_color) = 0;
// Remove tints that were unused in the current frame being built. This
// function takes a set |used_tints| and removes all the tints not in the set
« no previous file with comments | « no previous file | ui/android/resources/resource_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698