зеркало из https://github.com/mozilla/gecko-dev.git
removing assertion when aData is null since it will always be null and isn't used (removing small part of akkana's patch for 46643) r=bryner
This commit is contained in:
Родитель
c23f5f7fb6
Коммит
72fe52e405
|
@ -984,21 +984,15 @@ void nsClipboard::SelectionClearCB(GtkWidget *aWidget,
|
|||
g_print(" nsClipboard::SelectionClearCB\n");
|
||||
#endif /* DEBUG_CLIPBOARD */
|
||||
|
||||
if (!aWidget)
|
||||
{
|
||||
if (!aWidget) {
|
||||
NS_ASSERTION(PR_FALSE, "Null widget passed to SelectionClearCB)\n");
|
||||
return;
|
||||
}
|
||||
if (!aEvent)
|
||||
{
|
||||
|
||||
if (!aEvent) {
|
||||
NS_ASSERTION(PR_FALSE, "Null event passed to SelectionClearCB)\n");
|
||||
return;
|
||||
}
|
||||
if (!aData)
|
||||
{
|
||||
NS_ASSERTION(PR_FALSE, "Null data passed to SelectionClearCB)\n");
|
||||
return;
|
||||
}
|
||||
|
||||
nsClipboard *cb = (nsClipboard *)gtk_object_get_data(GTK_OBJECT(aWidget),
|
||||
"cb");
|
||||
|
|
Загрузка…
Ссылка в новой задаче