diff options
Diffstat (limited to 'indra/media_plugins/webkit/media_plugin_webkit.cpp')
-rw-r--r-- | indra/media_plugins/webkit/media_plugin_webkit.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/media_plugins/webkit/media_plugin_webkit.cpp b/indra/media_plugins/webkit/media_plugin_webkit.cpp index bd29eb5395..72827689a3 100644 --- a/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/indra/media_plugins/webkit/media_plugin_webkit.cpp @@ -145,8 +145,13 @@ private: // create single browser window mBrowserWindowId = LLMozLib::getInstance()->createBrowserWindow( mWidth, mHeight ); +#if LL_WINDOWS // Enable plugins LLMozLib::getInstance()->enablePlugins(true); +#else + // Disable plugins + LLMozLib::getInstance()->enablePlugins(false); +#endif // tell LLMozLib about the size of the browser window LLMozLib::getInstance()->setSize( mBrowserWindowId, mWidth, mHeight ); |