Bug 729155: Fix warnings in plugin ipc code. r=bsmedberg

This commit is contained in:
Josh Aas
2012-02-21 19:32:06 -05:00
parent 17529cb081
commit 36ce3118ae
4 changed files with 4 additions and 16 deletions

View File

@@ -2542,13 +2542,13 @@ PluginInstanceChild::MaybeCreatePlatformHelperSurface(void)
return false;
}
#ifdef MOZ_X11
#ifdef MOZ_PLATFORM_MAEMO
// On maemo plugins support non-default visual rendering
bool supportNonDefaultVisual = true;
#else
bool supportNonDefaultVisual = false;
#endif
#ifdef MOZ_X11
Screen* screen = DefaultScreenOfDisplay(mWsInfo.display);
Visual* defaultVisual = DefaultVisualOfScreen(screen);
Visual* visual = nsnull;