| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 Vector<String> result; | 42 Vector<String> result; |
| 43 for (HashMap<String, String>::const_iterator it = m_stats.begin(); | 43 for (HashMap<String, String>::const_iterator it = m_stats.begin(); |
| 44 it != m_stats.end(); ++it) { | 44 it != m_stats.end(); ++it) { |
| 45 result.push_back(it->key); | 45 result.push_back(it->key); |
| 46 } | 46 } |
| 47 return result; | 47 return result; |
| 48 } | 48 } |
| 49 | 49 |
| 50 void RTCLegacyStatsReport::addStatistic(const String& name, | 50 void RTCLegacyStatsReport::addStatistic(const String& name, |
| 51 const String& value) { | 51 const String& value) { |
| 52 m_stats.add(name, value); | 52 m_stats.insert(name, value); |
| 53 } | 53 } |
| 54 | 54 |
| 55 } // namespace blink | 55 } // namespace blink |
| OLD | NEW |