Removed a (no longer true) comment, added a TODO item
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -98,6 +98,8 @@ BPrivateScreen::Return(BPrivateScreen *screen)
|
|||||||
if (atomic_add(&sScreenRefCount, -1) == 1) {
|
if (atomic_add(&sScreenRefCount, -1) == 1) {
|
||||||
// TODO: Check if the passed object is the same we are deleting
|
// TODO: Check if the passed object is the same we are deleting
|
||||||
// here. Not much important for now though, since we only have one.
|
// here. Not much important for now though, since we only have one.
|
||||||
|
// TODO: We could avoid these lines, and just let the object live
|
||||||
|
// until the death of the application.
|
||||||
delete sScreen;
|
delete sScreen;
|
||||||
sScreen = NULL;
|
sScreen = NULL;
|
||||||
}
|
}
|
||||||
@@ -453,7 +455,6 @@ BPrivateScreen::get_screen_desc(screen_desc *desc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Private, called by BApplication::get_scs()
|
|
||||||
BPrivateScreen::BPrivateScreen()
|
BPrivateScreen::BPrivateScreen()
|
||||||
:
|
:
|
||||||
fColorMap(NULL),
|
fColorMap(NULL),
|
||||||
|
|||||||
Reference in New Issue
Block a user