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

Unified Diff: content/browser/devtools/protocol/tracing_handler.cc

Issue 2522583002: Roll third_party/inspector_protocol to 4ad35c45aca9834b67ec2cb152c816ea1b7ceb48 (Closed)
Patch Set: updated README.chromium Created 4 years, 1 month 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: content/browser/devtools/protocol/tracing_handler.cc
diff --git a/content/browser/devtools/protocol/tracing_handler.cc b/content/browser/devtools/protocol/tracing_handler.cc
index 590ed9b83bcfd5b2422a51ceab56b7f332710cf9..ea5c2d44be4ed9bdd4684102a3afc8487b7437c7 100644
--- a/content/browser/devtools/protocol/tracing_handler.cc
+++ b/content/browser/devtools/protocol/tracing_handler.cc
@@ -193,7 +193,7 @@ void TracingHandler::Start(Maybe<std::string> categories,
base::trace_event::TraceConfig trace_config;
if (config.isJust()) {
std::unique_ptr<base::Value> value =
- protocol::toBaseValue(config.fromJust()->serialize().get(), 1000);
+ protocol::toBaseValue(config.fromJust()->toValue().get(), 1000);
if (value && value->IsType(base::Value::TYPE_DICTIONARY)) {
trace_config = GetTraceConfigFromDevToolsConfig(
*static_cast<base::DictionaryValue*>(value.get()));
« no previous file with comments | « content/browser/devtools/devtools_session.cc ('k') | third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698