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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeDefault.h

Issue 2600873002: Memoize LayoutThemeDefault::clampedMenuListArrowPaddingSize(). (Closed)
Patch Set: Update LayoutThemeDefault::didChangeThemeEngine Created 3 years, 11 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 | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutThemeDefault.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.h b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.h
index c577078aa5f5de233bd07f399725718a4d478b6f..fe116753e6aefac79a5f95e2643a3022b7783dbf 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.h
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.h
@@ -160,7 +160,9 @@ class CORE_EXPORT LayoutThemeDefault : public LayoutTheme {
static unsigned m_inactiveSelectionForegroundColor;
ThemePainterDefault m_painter;
- int m_menuListArrowWidthInDIP = 0;
+ // Cached values for crbug.com/673754.
+ mutable float m_cachedMenuListArrowZoomLevel = 0;
+ mutable float m_cachedMenuListArrowPaddingSize = 0;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698