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

Side by Side Diff: third_party/libphonenumber/patches/version277a.patch

Issue 8759004: Revert 112305 - Pull the phone library directly. Delete old version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « third_party/libphonenumber/libphonenumber.gyp ('k') | third_party/libphonenumber/src/LICENSE » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff -Naur src-orig/default_logger.h src/default_logger.h 1 diff -Naur src-orig/default_logger.h src/default_logger.h
2 --- src-orig/default_logger.h 2011-07-02 16:27:58.000000000 -0700 2 --- src-orig/default_logger.h 2011-07-02 16:27:58.000000000 -0700
3 +++ src/default_logger.h 2011-07-02 16:28:29.000000000 -0700 3 +++ src/default_logger.h 2011-07-02 16:28:29.000000000 -0700
4 @@ -17,6 +17,8 @@ 4 @@ -17,6 +17,8 @@
5 #ifndef I18N_PHONENUMBERS_DEFAULT_LOGGER_H_ 5 #ifndef I18N_PHONENUMBERS_DEFAULT_LOGGER_H_
6 #define I18N_PHONENUMBERS_DEFAULT_LOGGER_H_ 6 #define I18N_PHONENUMBERS_DEFAULT_LOGGER_H_
7 7
8 +#include <stdio.h> 8 +#include <stdio.h>
9 + 9 +
10 #include <string> 10 #include <string>
11 11
12 #include "logger.h" 12 #include "logger.h"
13 @@ -45,7 +47,7 @@ 13 @@ -45,7 +47,7 @@
14 struct ConvertToString<int> { 14 struct ConvertToString<int> {
15 static inline string DoWork(const int& n) { 15 static inline string DoWork(const int& n) {
16 char buffer[16]; 16 char buffer[16];
17 - std::snprintf(buffer, sizeof(buffer), "%d", n); 17 - std::snprintf(buffer, sizeof(buffer), "%d", n);
18 + snprintf(buffer, sizeof(buffer), "%d", n); 18 + snprintf(buffer, sizeof(buffer), "%d", n);
19 return string(buffer); 19 return string(buffer);
20 } 20 }
21 }; 21 };
OLDNEW
« no previous file with comments | « third_party/libphonenumber/libphonenumber.gyp ('k') | third_party/libphonenumber/src/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698