- //resolveRtlPropertiesIfNeeded();
-
- int cacheIndex = -1; // = forceLayout ? -1 : mMeasureCache.indexOfKey(key);
- if( cacheIndex < 0 ) //|| sIgnoreMeasureCache )
- {
- // measure ourselves, this should set the measured dimension flag back
- OnMeasure( widthMeasureSpec, heightMeasureSpec );
- mImpl->ClearPrivateFlag( Impl::PRIVATE_FLAG_MEASURE_NEEDED_BEFORE_LAYOUT );
- }
- else
- {
- mImpl->SetPrivateFlag( Impl::PRIVATE_FLAG_MEASURE_NEEDED_BEFORE_LAYOUT );
- }
+ // measure ourselves, this should set the measured dimension flag back
+ OnMeasure( widthMeasureSpec, heightMeasureSpec );
+ mImpl->ClearPrivateFlag( Impl::PRIVATE_FLAG_MEASURE_NEEDED_BEFORE_LAYOUT );