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

Unified Diff: third_party/WebKit/Source/platform/TracedValue.cpp

Issue 1620673002: Remove Blink's ConvertableToTraceFormat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/TracedValue.cpp
diff --git a/third_party/WebKit/Source/platform/TracedValue.cpp b/third_party/WebKit/Source/platform/TracedValue.cpp
index e1519d880653abc82ec44c1ef6bff0cc62a9cd4c..47f511c23839ab971df78f85a5427f907d5c62bd 100644
--- a/third_party/WebKit/Source/platform/TracedValue.cpp
+++ b/third_party/WebKit/Source/platform/TracedValue.cpp
@@ -95,16 +95,11 @@ void TracedValue::endArray()
m_tracedValue->EndArray();
}
-String TracedValue::asTraceFormat() const
+String TracedValue::toString() const
{
std::string out;
m_tracedValue->AppendAsTraceFormat(&out);
return String::fromUTF8(out.c_str());
}
-void TracedValue::estimateTraceMemoryOverhead(base::trace_event::TraceEventMemoryOverhead* overhead)
-{
- m_tracedValue->EstimateTraceMemoryOverhead(overhead);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698