From 256ef88a26cff56fc7c23119d2d9e1b41468bd1a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 5 Jan 2015 16:54:03 -0800 Subject: Cleanup: Get rid of CRLF line endings. R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/837533003 --- fpdfsdk/src/javascript/global.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'fpdfsdk/src/javascript') diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp index 88b3fe77ce..b45fd04558 100644 --- a/fpdfsdk/src/javascript/global.cpp +++ b/fpdfsdk/src/javascript/global.cpp @@ -18,24 +18,24 @@ // Helper class for compile-time calculation of hash values in order to // avoid having global object initializers. -template -struct CHash; - -// Only needed to hash single-character strings. -template -struct CHash { - static const unsigned value = N; -}; - -template -struct CHash { - static const unsigned value = (ACC * 1313LLU + N) & 0xFFFFFFFF; -}; - -template -struct CHash { - static const unsigned value = CHash::value, Ns...>::value; -}; +template +struct CHash; + +// Only needed to hash single-character strings. +template +struct CHash { + static const unsigned value = N; +}; + +template +struct CHash { + static const unsigned value = (ACC * 1313LLU + N) & 0xFFFFFFFF; +}; + +template +struct CHash { + static const unsigned value = CHash::value, Ns...>::value; +}; extern const unsigned int JSCONST_nStringHash = CHash<'s','t','r','i','n','g'>::value; -- cgit v1.2.3