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

Unified Diff: ash/fast_ink/fast_ink_view.h

Issue 2944523002: Improving flat containers interface. (Closed)
Patch Set: Other platforms compilation 2. Created 3 years, 5 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 | base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/fast_ink/fast_ink_view.h
diff --git a/ash/fast_ink/fast_ink_view.h b/ash/fast_ink/fast_ink_view.h
index 4a31bb6862e58533f074b7323a13aef009fc76b3..9c4f07b22ae04d03c00bd9395f85c364b2ea48ed 100644
--- a/ash/fast_ink/fast_ink_view.h
+++ b/ash/fast_ink/fast_ink_view.h
@@ -11,6 +11,7 @@
#include "base/containers/flat_map.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "cc/base/resource_id.h"
#include "ui/views/view.h"
namespace aura {
@@ -74,7 +75,7 @@ class FastInkView : public views::View {
bool pending_draw_surface_ = false;
std::unique_ptr<FastInkLayerTreeFrameSinkHolder> frame_sink_holder_;
int next_resource_id_ = 1;
- base::flat_map<int, std::unique_ptr<FastInkResource>> resources_;
+ base::flat_map<cc::ResourceId, std::unique_ptr<FastInkResource>> resources_;
std::vector<std::unique_ptr<FastInkResource>> returned_resources_;
base::WeakPtrFactory<FastInkView> weak_ptr_factory_;
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698