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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 2227563003: Refactoring button field and its type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac/win errors Created 4 years, 4 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: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index acdd3199584eb5273ae333acaa7c1539fcaeff4a..1c8ff005d586b99aec9599fd38de63f7f520c676 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -858,7 +858,7 @@ class PolicyTest : public InProcessBrowserTest {
browser()->tab_strip_model()->GetActiveWebContents();
blink::WebMouseEvent click_event;
click_event.type = blink::WebInputEvent::MouseDown;
- click_event.button = blink::WebMouseEvent::ButtonLeft;
+ click_event.button = blink::WebMouseEvent::Button::Left;
click_event.clickCount = 1;
click_event.x = x;
click_event.y = y;

Powered by Google App Engine
This is Rietveld 408576698