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

Unified Diff: Source/wtf/StringExtras.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/wtf/StdLibExtras.h ('k') | Source/wtf/TCPageMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/StringExtras.h
diff --git a/Source/wtf/StringExtras.h b/Source/wtf/StringExtras.h
index 766080bd6903e73c8932860f48bb969cf3f4a384..4166f0f146564af1c2d0b9b13b27d8b0c39d1020 100644
--- a/Source/wtf/StringExtras.h
+++ b/Source/wtf/StringExtras.h
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WTF_StringExtras_h
@@ -30,14 +30,14 @@
#include <stdio.h>
#include <string.h>
-#if HAVE(STRINGS_H)
-#include <strings.h>
-#endif
+#if HAVE(STRINGS_H)
+#include <strings.h>
+#endif
#if COMPILER(MSVC)
// FIXME: why a COMPILER check instead of OS? also, these should be HAVE checks
-inline int snprintf(char* buffer, size_t count, const char* format, ...)
+inline int snprintf(char* buffer, size_t count, const char* format, ...)
{
int result;
va_list args;
@@ -65,7 +65,7 @@ inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_l
return result;
}
-// Work around a difference in Microsoft's implementation of vsnprintf, where
+// Work around a difference in Microsoft's implementation of vsnprintf, where
// vsnprintf does not null terminate the buffer. WebKit can rely on the null termination.
#define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args)
« no previous file with comments | « Source/wtf/StdLibExtras.h ('k') | Source/wtf/TCPageMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698