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

Unified Diff: ui/native_theme/native_theme_win.cc

Issue 12302043: Revert 182726 - Speculative. Will reland if no perf change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_win.cc
===================================================================
--- ui/native_theme/native_theme_win.cc (revision 183354)
+++ ui/native_theme/native_theme_win.cc (working copy)
@@ -254,15 +254,6 @@
size.cx = 13;
size.cy = 13;
break;
- case kScrollbarDownArrow:
- case kScrollbarLeftArrow:
- case kScrollbarRightArrow:
- case kScrollbarUpArrow:
- case kScrollbarHorizontalThumb:
- case kScrollbarVerticalThumb:
- size.cx = size.cy = static_cast<int>(GetSystemMetrics(SM_CXVSCROLL) /
- ui::win::GetDeviceScaleFactor());
- break;
default:
size.cx = 0;
size.cy = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698