Index: chrome/browser/ui/views/frame/taskbar_decorator_win.cc |
diff --git a/chrome/browser/ui/views/frame/taskbar_decorator_win.cc b/chrome/browser/ui/views/frame/taskbar_decorator_win.cc |
index 5f99203a94d326e981e6e0cd87683dbe94757404..aab7e5a5f4e672d496e059abff6411862c4d60f3 100644 |
--- a/chrome/browser/ui/views/frame/taskbar_decorator_win.cc |
+++ b/chrome/browser/ui/views/frame/taskbar_decorator_win.cc |
@@ -12,7 +12,6 @@ |
#include "base/task_scheduler/post_task.h" |
#include "base/win/scoped_comptr.h" |
#include "base/win/scoped_gdi_object.h" |
-#include "base/win/windows_version.h" |
#include "chrome/browser/profiles/profile_avatar_icon_util.h" |
#include "skia/ext/image_operations.h" |
#include "skia/ext/platform_canvas.h" |
@@ -69,9 +68,6 @@ void SetOverlayIcon(HWND hwnd, std::unique_ptr<SkBitmap> bitmap) { |
} // namespace |
void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { |
- if (base::win::GetVersion() < base::win::VERSION_WIN7) |
- return; |
- |
HWND hwnd = views::HWNDForNativeWindow(window); |
// SetOverlayIcon() does nothing if the window is not visible so testing here |