Index: ui/views/metrics_aura.cc |
diff --git a/ui/views/metrics_aura.cc b/ui/views/metrics_aura.cc |
index 50102ca0e54fba81f42eb8dd5a4e4d8e1fef6839..81d036ee32fe4018033a8f41de29acf7a73fd052 100644 |
--- a/ui/views/metrics_aura.cc |
+++ b/ui/views/metrics_aura.cc |
@@ -9,13 +9,6 @@ |
#include <windows.h> |
#endif |
-namespace { |
- |
-// Default double click interval in milliseconds. |
-const int kDefaultDoubleClickInterval = 500; |
- |
-} // namespace |
- |
namespace views { |
int GetDoubleClickInterval() { |
@@ -23,7 +16,8 @@ int GetDoubleClickInterval() { |
return ::GetDoubleClickTime(); |
#else |
// TODO(jennyz): This value may need to be adjusted on different platforms. |
- return kDefaultDoubleClickInterval; |
+ const int kDefaultDoubleClickIntervalMs = 500; |
tfarina
2015/12/23 21:23:25
right, on Windows, this constant was unused. Good
|
+ return kDefaultDoubleClickIntervalMs; |
#endif |
} |