mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-18 05:00:48 +01:00
Make comment language more consistent.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@148 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
7cad1a3574
commit
81b7d378f7
@ -593,7 +593,7 @@ private:
|
|||||||
|
|
||||||
// CEF string classes can convert between all supported string types. For
|
// CEF string classes can convert between all supported string types. For
|
||||||
// example, the CefStringWide class uses wchar_t as the underlying character
|
// example, the CefStringWide class uses wchar_t as the underlying character
|
||||||
// type and provides two approaches for translating data to/from a UTF8 string
|
// type and provides two approaches for converting data to/from a UTF8 string
|
||||||
// (std::string).
|
// (std::string).
|
||||||
//
|
//
|
||||||
// 1. Implicit conversion using the assignment operator overload.
|
// 1. Implicit conversion using the assignment operator overload.
|
||||||
@ -610,9 +610,9 @@ private:
|
|||||||
// aCefString.FromString(aUTF8String); // Assign std::string to CefStringWide
|
// aCefString.FromString(aUTF8String); // Assign std::string to CefStringWide
|
||||||
// aUTF8String = aCefString.ToString(); // Assign CefStringWide to std::string
|
// aUTF8String = aCefString.ToString(); // Assign CefStringWide to std::string
|
||||||
//
|
//
|
||||||
// Translation will only occur if the assigned value is a different string type.
|
// Conversion will only occur if the assigned value is a different string type.
|
||||||
// Assigning a std::string to a CefStringUTF8, for example, will copy the data
|
// Assigning a std::string to a CefStringUTF8, for example, will copy the data
|
||||||
// without performing a translation.
|
// without performing a conversion.
|
||||||
//
|
//
|
||||||
// CEF string classes are safe for reading from multiple threads but not for
|
// CEF string classes are safe for reading from multiple threads but not for
|
||||||
// modification. It is the user's responsibility to provide synchronization if
|
// modification. It is the user's responsibility to provide synchronization if
|
||||||
|
Loading…
x
Reference in New Issue
Block a user