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

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

Issue 1150303003: [Reland] Setup LayoutMenuList to not modify layout tree outside style recalc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « LayoutTests/TestExpectations ('k') | Source/core/layout/LayoutMenuList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMenuList.h
diff --git a/Source/core/layout/LayoutMenuList.h b/Source/core/layout/LayoutMenuList.h
index 56a1eefcff8dc32d5d83d616d6fc352446ab9517..c8188fb4cf630f579ea05fb55faacfa8a10a5f90 100644
--- a/Source/core/layout/LayoutMenuList.h
+++ b/Source/core/layout/LayoutMenuList.h
@@ -128,7 +128,10 @@ private:
LayoutText* m_buttonText;
LayoutBlock* m_innerBlock;
- bool m_optionsChanged;
+ bool m_optionsChanged : 1;
+ bool m_isEmpty : 1;
+ bool m_hasUpdatedActiveOption : 1;
+ bool m_popupIsVisible : 1;
int m_optionsWidth;
int m_lastActiveIndex;
@@ -136,7 +139,6 @@ private:
RefPtr<ComputedStyle> m_optionStyle;
RefPtrWillBePersistent<PopupMenu> m_popup;
- bool m_popupIsVisible;
int m_indexToSelectOnCancel;
// TODO(tkent): Use FRIEND_TEST macro provided by gtest_prod.h
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/layout/LayoutMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698