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

Unified Diff: ui/events/blink/web_input_event_builders_win_unittest.cc

Issue 2909943003: Removing useless Win7 checks + standardize its use (Closed)
Patch Set: Various nits Created 3 years, 7 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 | « ui/base/win/shell.cc ('k') | ui/gl/vsync_provider_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event_builders_win_unittest.cc
diff --git a/ui/events/blink/web_input_event_builders_win_unittest.cc b/ui/events/blink/web_input_event_builders_win_unittest.cc
index f0a69e6d11adf5d6fad2df7a6a22e14a24ed9f2d..61837d0dbf7a615ba2781959ac5621299df5cbec 100644
--- a/ui/events/blink/web_input_event_builders_win_unittest.cc
+++ b/ui/events/blink/web_input_event_builders_win_unittest.cc
@@ -20,9 +20,6 @@ namespace ui {
// This test validates that Pixel to DIP conversion occurs as needed in the
// WebMouseEventBuilder::Build function.
TEST(WebInputEventBuilderTest, TestMouseEventScale) {
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return;
-
display::Display::ResetForceDeviceScaleFactorForTesting();
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
« no previous file with comments | « ui/base/win/shell.cc ('k') | ui/gl/vsync_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698