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

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

Issue 15651006: cc: Disable LastInputEventForBeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@nobfafteri
Patch Set: Update bug# in comment Created 7 years, 6 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: content/renderer/gpu/input_handler_proxy.cc
diff --git a/content/renderer/gpu/input_handler_proxy.cc b/content/renderer/gpu/input_handler_proxy.cc
index 8ce599c7158619c6151ee7da268534fd2af22d77..32e77fc86139061c36d4c44875158248469cce91 100644
--- a/content/renderer/gpu/input_handler_proxy.cc
+++ b/content/renderer/gpu/input_handler_proxy.cc
@@ -52,15 +52,7 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent(
const WebInputEvent& event) {
DCHECK(client_);
DCHECK(input_handler_);
-
- InputHandlerProxy::EventDisposition disposition =
- HandleInputEventInternal(event);
- if (event.modifiers & WebInputEvent::IsLastInputEventForCurrentVSync) {
- input_handler_->DidReceiveLastInputEventForBeginFrame(
- base::TimeTicks::FromInternalValue(event.timeStampSeconds *
- base::Time::kMicrosecondsPerSecond));
- }
- return disposition;
+ return HandleInputEventInternal(event);
jamesr 2013/06/05 18:06:40 hmm, well now there's no reason at all for the Han
}
InputHandlerProxy::EventDisposition

Powered by Google App Engine
This is Rietveld 408576698