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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2305133002: Mac: adjust sizes of progress bars to be equal to painted size. (Closed)
Patch Set: none Created 4 years, 3 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: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index f5df6d8e6fa1458f4d7172e3fa7060128bfc3366..bed073c2356a3136cb7c9142af0890c000d8bdb6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -180,7 +180,11 @@ void LayoutTheme::adjustStyle(ComputedStyle& style, Element* e)
if (style.setFontDescription(controlFont))
style.font().update(nullptr);
}
+ break;
}
+ case ProgressBarPart:
+ adjustProgressBarBounds(style);
+ break;
default:
break;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.h ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698