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

Unified Diff: base/json/json_parser.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « base/json/json_file_value_serializer.cc ('k') | base/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_parser.cc
diff --git a/base/json/json_parser.cc b/base/json/json_parser.cc
index 6a25bc7b481a3e1ca28b5532ad07ce957b360380..d42b1a3d37e820f0ff3f1b6cfb00dde6e3be9fc8 100644
--- a/base/json/json_parser.cc
+++ b/base/json/json_parser.cc
@@ -428,7 +428,7 @@ bool JSONParser::EatComment() {
if (next_char == '/') {
// Single line comment, read to newline.
while (CanConsume(1)) {
- char next_char = *NextChar();
+ next_char = *NextChar();
if (next_char == '\n' || next_char == '\r')
return true;
}
« no previous file with comments | « base/json/json_file_value_serializer.cc ('k') | base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698