зеркало из https://github.com/mozilla/pjs.git
Bug 336965 Useless null check of shell in NPP_SetWindow
r=jst sr=jst
This commit is contained in:
Родитель
e1d478fb0a
Коммит
bb15c48132
|
@ -225,10 +225,8 @@ NPP_SetWindow(NPP instance, NPWindow* window)
|
|||
#ifdef DEBUG
|
||||
fprintf(stderr, "Nullplugin: plugin received window resize.\n");
|
||||
fprintf(stderr, "Window=(%i)\n", (int)window);
|
||||
if (window) {
|
||||
fprintf(stderr, "W=(%i) H=(%i)\n",
|
||||
(int)window->width, (int)window->height);
|
||||
}
|
||||
fprintf(stderr, "W=(%i) H=(%i)\n",
|
||||
(int)window->width, (int)window->height);
|
||||
#endif
|
||||
return NPERR_NO_ERROR;
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче