Log "schlepping drawable" messages as PLUGIN_LOG_DEBUG. no r=, trivial

This commit is contained in:
Chris Jones 2010-02-10 17:17:33 -06:00
Родитель 029d0604a9
Коммит 1db388196b
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -397,8 +397,8 @@ PluginInstanceChild::AnswerNPP_HandleEvent(const NPRemoteEvent& event,
#if defined(OS_LINUX) && defined(DEBUG)
if (GraphicsExpose == event.event.type)
printf(" received drawable 0x%lx\n",
event.event.xgraphicsexpose.drawable);
PLUGIN_LOG_DEBUG((" received drawable 0x%lx\n",
event.event.xgraphicsexpose.drawable));
#endif
// Make a copy since we may modify values.

Просмотреть файл

@ -588,8 +588,8 @@ PluginInstanceParent::NPP_HandleEvent(void* event)
#if defined(MOZ_X11)
if (GraphicsExpose == npevent->type) {
printf(" schlepping drawable 0x%lx across the pipe\n",
npevent->xgraphicsexpose.drawable);
PLUGIN_LOG_DEBUG((" schlepping drawable 0x%lx across the pipe\n",
npevent->xgraphicsexpose.drawable));
// Make sure the X server has created the Drawable and completes any
// drawing before the plugin draws on top.
//