Need dirty() to be virtual to override in special cases.

See, for example ReactShadowNode in the ReactAndroid code base, which overrides this virtual.
This commit is contained in:
Eric Rozell
2016-01-05 08:55:32 -05:00
parent 219bdaed15
commit 3d7bc48fa6
2 changed files with 2 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ namespace Facebook.CSSLayout
get { return mLayoutState == LayoutState.HAS_NEW_LAYOUT; }
}
internal protected void dirty()
internal protected virtual void dirty()
{
if (mLayoutState == LayoutState.DIRTY)
{