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

Unified Diff: chrome/browser/ui/views/frame/browser_window_property_manager_win.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
Index: chrome/browser/ui/views/frame/browser_window_property_manager_win.cc
diff --git a/chrome/browser/ui/views/frame/browser_window_property_manager_win.cc b/chrome/browser/ui/views/frame/browser_window_property_manager_win.cc
index 00fcecd0ea2020cea6b59f0e2bef7f390fcc1d46..3080979dcf5f8b3d8d284a8c5f8b13fe5a9f2678 100644
--- a/chrome/browser/ui/views/frame/browser_window_property_manager_win.cc
+++ b/chrome/browser/ui/views/frame/browser_window_property_manager_win.cc
@@ -97,9 +97,6 @@ std::unique_ptr<BrowserWindowPropertyManager>
BrowserWindowPropertyManager::CreateBrowserWindowPropertyManager(
BrowserView* view,
HWND hwnd) {
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return nullptr;
-
std::unique_ptr<BrowserWindowPropertyManager> browser_window_property_manager(
new BrowserWindowPropertyManager(view, hwnd));
browser_window_property_manager->UpdateWindowProperties();

Powered by Google App Engine
This is Rietveld 408576698