the new clipping code uses the same mechanism for updating frame/bounds, so we don't need some things anymore.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14559 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-10-28 17:05:46 +00:00
parent fc9c02aa4f
commit 88820e7210
2 changed files with 2 additions and 39 deletions
+1 -5
View File
@@ -561,11 +561,7 @@ BRect
BView::Bounds() const
{
// do we need to update our bounds?
if (
#if 1 // 0 to make the new clipping code work
!fState->IsValid(B_VIEW_FRAME_BIT) &&
#endif
fOwner) {
if (!fState->IsValid(B_VIEW_FRAME_BIT) && fOwner) {
check_lock();
fOwner->fLink->StartMessage(AS_LAYER_GET_COORD);