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

Unified Diff: tools/gn/escape.cc

Issue 275703003: Make GN Android build link executables (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: tools/gn/escape.cc
diff --git a/tools/gn/escape.cc b/tools/gn/escape.cc
index c1acc722a9f036a383aa1052c373e2650d4aae5e..1cc5daafd7848566dc33980e9fce402f7429f0ca 100644
--- a/tools/gn/escape.cc
+++ b/tools/gn/escape.cc
@@ -89,5 +89,5 @@ void EscapeStringToStream(std::ostream& out,
result->reserve(str.size() + 4); // Guess we'll add a couple of extra chars.
EscapeStringToString(str, options, &result.container(), NULL);
if (!result->empty())
- out.write(result->data(), result->size());
+ out.write(&result[0], result->size());
}
« build/config/android/config.gni ('K') | « tools/gn/args.cc ('k') | tools/gn/settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698