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

Unified Diff: ui/base/clipboard/clipboard_util_win.cc

Issue 7016011: iwyu: Include stringprintf.h where appropriate, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/jingle_glue/iq_request_unittest.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard_util_win.cc
diff --git a/ui/base/clipboard/clipboard_util_win.cc b/ui/base/clipboard/clipboard_util_win.cc
index 43b1d5fd5fba098b08fee94043ab7c18cc61c53b..6c447403656468529be68fc5ef2b87423563261a 100644
--- a/ui/base/clipboard/clipboard_util_win.cc
+++ b/ui/base/clipboard/clipboard_util_win.cc
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_handle.h"
+#include "base/stringprintf.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "base/win/scoped_hglobal.h"
@@ -466,8 +467,11 @@ std::string ClipboardUtil::HtmlToCFHtml(const std::string& html,
size_t end_fragment_offset = start_fragment_offset + html.length();
size_t end_html_offset = end_fragment_offset + strlen(end_markup);
- std::string result = StringPrintf(header, start_html_offset,
- end_html_offset, start_fragment_offset, end_fragment_offset);
+ std::string result = base::StringPrintf(header,
+ start_html_offset,
+ end_html_offset,
+ start_fragment_offset,
+ end_fragment_offset);
if (!base_url.empty()) {
result.append(source_url_prefix);
result.append(base_url);
« no previous file with comments | « remoting/jingle_glue/iq_request_unittest.cc ('k') | ui/base/l10n/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698