Removed commented out code which wasn't needed after all.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@353 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-03-24 20:21:24 +00:00 committed by Alexandre Deckner
parent 90ac9c309c
commit 3b7f919fb8

View File

@ -278,11 +278,6 @@ DownloadProgressView::Init(BMessage* archive)
fInfoView->SetFont(&font, B_FONT_SIZE);
fInfoView->SetHighColor(tint_color(fInfoView->LowColor(),
B_DARKEN_4_TINT));
// font_height fontHeight;
// font.GetHeight(&fontHeight);
// float textHeight = ceilf(fontHeight.ascent) + ceilf(fontHeight.descent);
// fInfoView->SetExplicitMinSize(BSize(B_SIZE_UNSET, textHeight));
// fInfoView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, textHeight));
fInfoView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
return true;