| Index: webkit/glue/plugins/plugin_instance.cc
|
| ===================================================================
|
| --- webkit/glue/plugins/plugin_instance.cc (revision 54340)
|
| +++ webkit/glue/plugins/plugin_instance.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "base/file_util.h"
|
| #include "base/message_loop.h"
|
| -#include "base/string_util.h"
|
| +#include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| #include "webkit/glue/plugins/plugin_host.h"
|
| @@ -489,13 +489,13 @@
|
| std::string range_info = "bytes=";
|
|
|
| while (range_list) {
|
| - range_info += IntToString(range_list->offset);
|
| - range_info += "-";
|
| - range_info += IntToString(range_list->offset + range_list->length - 1);
|
| + range_info += base::IntToString(range_list->offset);
|
| + range_info.push_back('-');
|
| + range_info +=
|
| + base::IntToString(range_list->offset + range_list->length - 1);
|
| range_list = range_list->next;
|
| - if (range_list) {
|
| - range_info += ",";
|
| - }
|
| + if (range_list)
|
| + range_info.push_back(',');
|
| }
|
|
|
| if (plugin_data_stream_) {
|
|
|