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

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 new instances 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 b80ad6a302c50a47ef2da787e5bb94ee9e6ab201..b98c83c877e6ecd69b4ea3fcdb89ee11d7759b31 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;
« no previous file with comments | « chrome/browser/plugins/plugin_power_saver_browsertest.cc ('k') | chrome/browser/referrer_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698