summaryrefslogtreecommitdiffstats
path: root/webkit/glue/cpp_variant.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 00:54:13 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 00:54:13 +0000
commit1c32402767e49d21eea7470cd7b89f682755d391 (patch)
treed3a11c042eb63dcb1032002038a987d0c191926e /webkit/glue/cpp_variant.cc
parentd4bc96e84f87586da6a312a3c8eed3a12b3221d3 (diff)
downloadchromium_src-1c32402767e49d21eea7470cd7b89f682755d391.zip
chromium_src-1c32402767e49d21eea7470cd7b89f682755d391.tar.gz
chromium_src-1c32402767e49d21eea7470cd7b89f682755d391.tar.bz2
webkit: Append base:: in the StringPrintf calls.
(Note: This is a TODO in string_util.h) BUG=None TEST=None Review URL: http://codereview.chromium.org/3404027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/cpp_variant.cc')
-rw-r--r--webkit/glue/cpp_variant.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/cpp_variant.cc b/webkit/glue/cpp_variant.cc
index bf995fc..8545bc1 100644
--- a/webkit/glue/cpp_variant.cc
+++ b/webkit/glue/cpp_variant.cc
@@ -9,6 +9,7 @@
#include "webkit/glue/cpp_variant.h"
#include "base/logging.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
using WebKit::WebBindings;
@@ -232,7 +233,7 @@ std::vector<std::wstring> CppVariant::ToStringVector() const {
length = std::min(60000, length);
for (int i = 0; i < length; ++i) {
// Get each of the items.
- std::string index = StringPrintf("%d", i);
+ std::string index = base::StringPrintf("%d", i);
NPIdentifier index_id = WebBindings::getStringIdentifier(index.c_str());
if (WebBindings::hasProperty(NULL, np_value, index_id)) {
NPVariant index_value;