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

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

Issue 2108043003: Move LayoutMenuList's height calculation logic to styleDidChange method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/LayoutMenuList.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.h b/third_party/WebKit/Source/core/layout/LayoutMenuList.h
index 51c643dc9889a31eedb7c90d86c0637f73b90056..fa96089fe3803bd0066118401a782f75e88782cd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.h
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.h
@@ -80,6 +80,7 @@ private:
void adjustInnerStyle();
void setText(const String&);
void setTextFromOption(int optionIndex);
+ void updateInnerBlockHeight();
void updateOptionsWidth() const;
float computeTextWidth(const TextRun&, const ComputedStyle&) const;
void setIndexToSelectOnCancel(int listIndex);

Powered by Google App Engine
This is Rietveld 408576698