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

Unified Diff: content/renderer/gpu/compositor_thread.cc

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 12 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
« no previous file with comments | « content/renderer/gpu/compositor_thread.h ('k') | content/renderer/gpu/input_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_thread.cc
diff --git a/content/renderer/gpu/compositor_thread.cc b/content/renderer/gpu/compositor_thread.cc
index 815d1c221b155cab71ddea083fc165e5350bb124..7c0e7ce95d4b43766ae4391e71f68865ef4776bc 100644
--- a/content/renderer/gpu/compositor_thread.cc
+++ b/content/renderer/gpu/compositor_thread.cc
@@ -152,6 +152,7 @@ void CompositorThread::RemoveInputHandler(int routing_id) {
void CompositorThread::HandleInputEvent(
int routing_id,
+ int64 input_number,
const WebInputEvent* input_event) {
DCHECK_EQ(MessageLoop::current(), thread_.message_loop());
@@ -163,7 +164,7 @@ void CompositorThread::HandleInputEvent(
return;
}
- it->second->input_handler()->handleInputEvent(*input_event);
+ it->second->input_handler()->handleInputEvent(*input_event, input_number);
}
} // namespace content
« no previous file with comments | « content/renderer/gpu/compositor_thread.h ('k') | content/renderer/gpu/input_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698