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

Side by Side Diff: media/blink/interval_map.h

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 years, 1 month 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 | « media/base/yuv_convert.cc ('k') | media/cast/logging/stats_event_subscriber.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MEDIA_BLINK_INTERVAL_MAP_H_ 5 #ifndef MEDIA_BLINK_INTERVAL_MAP_H_
6 #define MEDIA_BLINK_INTERVAL_MAP_H_ 6 #define MEDIA_BLINK_INTERVAL_MAP_H_
7 7
8 #include <algorithm>
8 #include <limits> 9 #include <limits>
9 #include <map> 10 #include <map>
10 11
11 #include "base/logging.h" 12 #include "base/logging.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 // An IntervalMap<KeyType, ValueType> maps every value of KeyType to 16 // An IntervalMap<KeyType, ValueType> maps every value of KeyType to
16 // a ValueType, and incrementing, decrementing and setting ranges of values 17 // a ValueType, and incrementing, decrementing and setting ranges of values
17 // has been optimized. The default state is to map all values in 18 // has been optimized. The default state is to map all values in
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 map_.erase(second); 282 map_.erase(second);
282 } 283 }
283 } 284 }
284 285
285 MapType map_; 286 MapType map_;
286 }; 287 };
287 288
288 } // namespace media 289 } // namespace media
289 290
290 #endif // MEDIA_BLINK_INTERVAL_MAP_H_ 291 #endif // MEDIA_BLINK_INTERVAL_MAP_H_
OLDNEW
« no previous file with comments | « media/base/yuv_convert.cc ('k') | media/cast/logging/stats_event_subscriber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698