summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:22:07 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:22:07 +0000
commit33272e1f0fcbc1dee150323df883293cfb29f58d (patch)
treee004dbbd4e74433fcbadf93339fa7c4a3eb620ed /skia
parent502e605ef343c8948a3fe6fc0e36907b9a3f3dba (diff)
downloadchromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.zip
chromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.tar.gz
chromium_src-33272e1f0fcbc1dee150323df883293cfb29f58d.tar.bz2
base: Fix the TODO in string_util.h
This removes the include of stringprintf.h from string_util.h and fix the clients. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7633055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/vector_canvas_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc
index 87fac81..e4c7486 100644
--- a/skia/ext/vector_canvas_unittest.cc
+++ b/skia/ext/vector_canvas_unittest.cc
@@ -12,6 +12,7 @@
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "skia/ext/vector_canvas.h"
#include "skia/ext/vector_platform_device_emf_win.h"
@@ -401,7 +402,7 @@ class VectorCanvasTest : public ImageTest {
// Compares both canvas and returns the pixel difference in percentage between
// both images. 0 on success and ]0, 100] on failure.
double ProcessImage(const FilePath::StringType& filename) {
- std::wstring number(StringPrintf(L"%02d_", number_++));
+ std::wstring number(base::StringPrintf(L"%02d_", number_++));
double diff1 = parent::ProcessCanvas(*vcanvas_, number + L"vc_" + filename);
double diff2 = parent::ProcessCanvas(*pcanvas_, number + L"pc_" + filename);
if (!compare_canvas_)