Index: chrome/renderer/printing/print_web_view_helper.cc |
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc |
index 6c7e00f4b636f6a12267c41e19d899718a66268c..f7526be718d5c874118cb5e03e5a25c3b9c167b6 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.cc |
+++ b/chrome/renderer/printing/print_web_view_helper.cc |
@@ -63,7 +63,7 @@ void ExecuteScript(WebKit::WebFrame* frame, |
const base::Value& parameters) { |
std::string json; |
base::JSONWriter::Write(¶meters, &json); |
- std::string script = StringPrintf(script_format, json.c_str()); |
+ std::string script = base::StringPrintf(script_format, json.c_str()); |
frame->executeScript(WebKit::WebString(UTF8ToUTF16(script))); |
} |
@@ -438,7 +438,7 @@ void PrintWebViewHelper::PrintHeaderAndFooter( |
options->SetDouble("topMargin", page_layout.margin_top); |
options->SetDouble("bottomMargin", page_layout.margin_bottom); |
options->SetString("pageNumber", |
- StringPrintf("%d/%d", page_number, total_pages)); |
+ base::StringPrintf("%d/%d", page_number, total_pages)); |
ExecuteScript(frame, kPageSetupScriptFormat, *options); |