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

Side by Side Diff: libjingle.patch

Issue 2835007: Revert 49984 - patch from issue 2762014 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/renderer_host/render_widget_helper.cc ('k') | webcore.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: talk/base/stringutils.h
2 ===================================================================
3 --- talk/base/stringutils.h (revision 21)
4 +++ talk/base/stringutils.h (working copy)
5 @@ -225,15 +225,6 @@
6 GCC_ATTR(format(printf,3,4));
7 */
8 template<class CTYPE>
9 -size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) {
10 - va_list args;
11 - va_start(args, format);
12 - size_t len = vsprintfn(buffer, buflen, format, args);
13 - va_end(args);
14 - return len;
15 -}
16 -
17 -template<class CTYPE>
18 size_t vsprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format,
19 va_list args) {
20 int len = vsnprintf(buffer, buflen, format, args);
21 @@ -244,6 +235,15 @@
22 return len;
23 }
24
25 +template<class CTYPE>
26 +size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) {
27 + va_list args;
28 + va_start(args, format);
29 + size_t len = vsprintfn(buffer, buflen, format, args);
30 + va_end(args);
31 + return len;
32 +}
33 +
34 ///////////////////////////////////////////////////////////////////////////////
35 // Allow safe comparing and copying ascii (not UTF-8) with both wide and
36 // non-wide character strings.
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_helper.cc ('k') | webcore.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698