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

Unified Diff: services/tracing/public/cpp/provider.cc

Issue 2608513002: Remove mojo::String. (Closed)
Patch Set: Created 4 years 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: services/tracing/public/cpp/provider.cc
diff --git a/services/tracing/public/cpp/provider.cc b/services/tracing/public/cpp/provider.cc
index 9b09b096d18c7fde2c286a762b102e700182d0a6..852f5d63f5266ebacc2bf90afb801f23df4c7876 100644
--- a/services/tracing/public/cpp/provider.cc
+++ b/services/tracing/public/cpp/provider.cc
@@ -150,7 +150,7 @@ void Provider::SendChunk(
// The string will be empty if an error eccured or there were no trace
// events. Empty string is not a valid chunk to record so skip in this case.
if (!events_str->data().empty()) {
- recorder_->Record(mojo::String(events_str->data()));
+ recorder_->Record(events_str->data());
}
if (!has_more_events) {
recorder_.reset();

Powered by Google App Engine
This is Rietveld 408576698