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

Side by Side Diff: cc/layers/delegated_renderer_layer_impl.cc

Issue 1587283002: Switch cc to std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unordered-map
Patch Set: Fix MSVC build issue Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/layers/delegated_renderer_layer_impl.h" 5 #include "cc/layers/delegated_renderer_layer_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/containers/hash_tables.h"
15 #include "cc/base/math_util.h" 14 #include "cc/base/math_util.h"
16 #include "cc/layers/append_quads_data.h" 15 #include "cc/layers/append_quads_data.h"
17 #include "cc/layers/render_pass_sink.h" 16 #include "cc/layers/render_pass_sink.h"
18 #include "cc/output/delegated_frame_data.h" 17 #include "cc/output/delegated_frame_data.h"
19 #include "cc/quads/render_pass_draw_quad.h" 18 #include "cc/quads/render_pass_draw_quad.h"
20 #include "cc/quads/solid_color_draw_quad.h" 19 #include "cc/quads/solid_color_draw_quad.h"
21 #include "cc/trees/layer_tree_impl.h" 20 #include "cc/trees/layer_tree_impl.h"
22 #include "cc/trees/occlusion.h" 21 #include "cc/trees/occlusion.h"
23 #include "ui/gfx/geometry/rect_conversions.h" 22 #include "ui/gfx/geometry/rect_conversions.h"
24 23
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 if (own_child_id_) { 505 if (own_child_id_) {
507 ResourceProvider* provider = layer_tree_impl()->resource_provider(); 506 ResourceProvider* provider = layer_tree_impl()->resource_provider();
508 provider->DestroyChild(child_id_); 507 provider->DestroyChild(child_id_);
509 } 508 }
510 509
511 resources_.clear(); 510 resources_.clear();
512 child_id_ = 0; 511 child_id_ = 0;
513 } 512 }
514 513
515 } // namespace cc 514 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698