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

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

Issue 1437283003: [DevTools] filter any messages from previous session in DevToolsAgentHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/input_handler.cc
diff --git a/content/browser/devtools/protocol/input_handler.cc b/content/browser/devtools/protocol/input_handler.cc
index 0b4bdcc3f5422f1a0e2d1f189c2f28e9e545f084..c0def4e411b8b18386e76fc1f21f03d7f05e1fc7 100644
--- a/content/browser/devtools/protocol/input_handler.cc
+++ b/content/browser/devtools/protocol/input_handler.cc
@@ -398,8 +398,8 @@ void InputHandler::SynthesizeRepeatingScroll(
DevToolsCommandId command_id) {
if (!interaction_marker_name.empty()) {
// TODO(alexclarke): Can we move this elsewhere? It doesn't really fit here.
- TRACE_EVENT_COPY_ASYNC_BEGIN0("benchmark",
- interaction_marker_name.c_str(), command_id);
+ TRACE_EVENT_COPY_ASYNC_BEGIN0("benchmark", interaction_marker_name.c_str(),
+ command_id.call_id);
}
host_->QueueSyntheticGesture(
@@ -417,8 +417,8 @@ void InputHandler::OnScrollFinished(
DevToolsCommandId command_id,
SyntheticGesture::Result result) {
if (!interaction_marker_name.empty()) {
- TRACE_EVENT_COPY_ASYNC_END0("benchmark",
- interaction_marker_name.c_str(), command_id);
+ TRACE_EVENT_COPY_ASYNC_END0("benchmark", interaction_marker_name.c_str(),
+ command_id.call_id);
}
if (repeat_count > 0) {

Powered by Google App Engine
This is Rietveld 408576698