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

Unified Diff: third_party/WebKit/Source/wtf/text/Base64.cpp

Issue 2373983006: reflow comments in wtf/text (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/Source/wtf/text/Base64.cpp
diff --git a/third_party/WebKit/Source/wtf/text/Base64.cpp b/third_party/WebKit/Source/wtf/text/Base64.cpp
index cb958b740097bb5162dba893858cbe2f3dedc15f..e9f9b40da3a0b2d15bdb252ecfd34d89cc5dcee2 100644
--- a/third_party/WebKit/Source/wtf/text/Base64.cpp
+++ b/third_party/WebKit/Source/wtf/text/Base64.cpp
@@ -15,7 +15,8 @@
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
This code is based on the java implementation in HTTPClient
package by Ronald Tschalaer Copyright (C) 1996-1999.
@@ -185,7 +186,8 @@ static inline bool base64DecodeInternal(
return !equalsSignCount;
// There should be no padding if length is a multiple of 4.
- // We use (outLength + equalsSignCount) instead of length because we don't want to account for ignored characters.
+ // We use (outLength + equalsSignCount) instead of length because we don't
+ // want to account for ignored characters.
if (policy == Base64ValidatePadding && equalsSignCount &&
(outLength + equalsSignCount) % 4)
return false;

Powered by Google App Engine
This is Rietveld 408576698