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

Unified Diff: Source/wtf/unicode/UTF8.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/unicode/CharacterNames.h ('k') | Source/wtf/unicode/UTF8.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/unicode/UTF8.h
diff --git a/Source/wtf/unicode/UTF8.h b/Source/wtf/unicode/UTF8.h
index b014fa613f0d872df208c43080ab4b06f8c448ed..8b04cb90262ab41c30ff2fe3cfc801b9506b4278 100644
--- a/Source/wtf/unicode/UTF8.h
+++ b/Source/wtf/unicode/UTF8.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_UTF8_h
@@ -53,26 +53,26 @@ namespace Unicode {
// flag is set to strict, both irregular sequences and isolated surrogates
// will cause an error. When the flag is set to lenient, both irregular
// sequences and isolated surrogates are converted.
- //
+ //
// Whether the flag is strict or lenient, all illegal sequences will cause
// an error return. This includes sequences such as: <F4 90 80 80>, <C0 80>,
// or <A0> in UTF-8, and values above 0x10FFFF in UTF-32. Conformant code
// must check for illegal sequences.
- //
+ //
// When the flag is set to lenient, characters over 0x10FFFF are converted
// to the replacement character; otherwise (when the flag is set to strict)
// they constitute an error.
WTF_EXPORT ConversionResult convertUTF8ToUTF16(
- const char** sourceStart, const char* sourceEnd,
+ const char** sourceStart, const char* sourceEnd,
UChar** targetStart, UChar* targetEnd, bool* isSourceAllASCII = 0, bool strict = true);
WTF_EXPORT ConversionResult convertLatin1ToUTF8(
- const LChar** sourceStart, const LChar* sourceEnd,
+ const LChar** sourceStart, const LChar* sourceEnd,
char** targetStart, char* targetEnd);
WTF_EXPORT ConversionResult convertUTF16ToUTF8(
- const UChar** sourceStart, const UChar* sourceEnd,
+ const UChar** sourceStart, const UChar* sourceEnd,
char** targetStart, char* targetEnd, bool strict = true);
WTF_EXPORT unsigned calculateStringHashAndLengthFromUTF8MaskingTop8Bits(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length);
« no previous file with comments | « Source/wtf/unicode/CharacterNames.h ('k') | Source/wtf/unicode/UTF8.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698