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

Unified Diff: blimp/client/core/render_widget/blimp_document_manager.cc

Issue 2400923002: Move BlimpInputManager to BlimpDocument from BlimpCompositor. (Closed)
Patch Set: Removed unnecessary DCHECK. Created 4 years, 2 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: blimp/client/core/render_widget/blimp_document_manager.cc
diff --git a/blimp/client/core/render_widget/blimp_document_manager.cc b/blimp/client/core/render_widget/blimp_document_manager.cc
index c0fd8d8259b75e769963ea0bfe75c1e1ecbf1398..3eb2e168260d7391d1d476444b1d7718c21351fb 100644
--- a/blimp/client/core/render_widget/blimp_document_manager.cc
+++ b/blimp/client/core/render_widget/blimp_document_manager.cc
@@ -40,7 +40,7 @@ void BlimpDocumentManager::SetVisible(bool visible) {
bool BlimpDocumentManager::OnTouchEvent(const ui::MotionEvent& motion_event) {
if (active_document_)
- return active_document_->GetCompositor()->OnTouchEvent(motion_event);
+ return active_document_->OnTouchEvent(motion_event);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698