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

Unified Diff: webkit/tools/test_shell/text_input_controller.cc

Issue 3404027: webkit: Append base:: in the StringPrintf calls. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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 | « webkit/tools/test_shell/test_webview_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/text_input_controller.cc
diff --git a/webkit/tools/test_shell/text_input_controller.cc b/webkit/tools/test_shell/text_input_controller.cc
index 0faa523d03d4ceadcaf33da2ca131fac33db8e8d..3f389324ed9e89aabe8d9ab510e6e2523c81166d 100644
--- a/webkit/tools/test_shell/text_input_controller.cc
+++ b/webkit/tools/test_shell/text_input_controller.cc
@@ -1,10 +1,11 @@
-// Copyright (c) 2006-2009 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.
#include "webkit/tools/test_shell/text_input_controller.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/WebKit/chromium/public/WebRange.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
@@ -140,7 +141,8 @@ void TextInputController::markedRange(
WebRange range = main_frame->markedRange();
std::string range_str;
- SStringPrintf(&range_str, "%d,%d", range.startOffset(), range.endOffset());
+ base::SStringPrintf(&range_str, "%d,%d", range.startOffset(),
+ range.endOffset());
result->Set(range_str);
}
@@ -155,7 +157,8 @@ void TextInputController::selectedRange(
WebRange range = main_frame->selectionRange();
std::string range_str;
- SStringPrintf(&range_str, "%d,%d", range.startOffset(), range.endOffset());
+ base::SStringPrintf(&range_str, "%d,%d", range.startOffset(),
+ range.endOffset());
result->Set(range_str);
}
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698