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

Unified Diff: chrome/browser/android/vr_shell/vr_input_manager.cc

Issue 2705293002: Chrome VR clang-format cleanup (Closed)
Patch Set: Rebase to ToT. Created 3 years, 10 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 | « chrome/browser/android/vr_shell/vr_gl_thread.cc ('k') | chrome/browser/android/vr_shell/vr_math.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_input_manager.cc
diff --git a/chrome/browser/android/vr_shell/vr_input_manager.cc b/chrome/browser/android/vr_shell/vr_input_manager.cc
index 24a67508515c70660f704d06c934aca5a4c92899..3a1818f54b0afc65eda46e5a950f3e1df2d7091e 100644
--- a/chrome/browser/android/vr_shell/vr_input_manager.cc
+++ b/chrome/browser/android/vr_shell/vr_input_manager.cc
@@ -32,8 +32,7 @@ WebGestureEvent MakeGestureEvent(WebInputEvent::Type type,
} // namespace
VrInputManager::VrInputManager(content::WebContents* web_contents)
- : web_contents_(web_contents) {
-}
+ : web_contents_(web_contents) {}
VrInputManager::~VrInputManager() = default;
@@ -74,7 +73,7 @@ void VrInputManager::ForwardGestureEvent(
void VrInputManager::ForwardMouseEvent(
const blink::WebMouseEvent& mouse_event) {
if (!web_contents_->GetRenderWidgetHostView())
- return;
+ return;
content::RenderWidgetHost* rwh =
web_contents_->GetRenderWidgetHostView()->GetRenderWidgetHost();
if (rwh)
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_thread.cc ('k') | chrome/browser/android/vr_shell/vr_math.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698