Bug 773025 - fix 2 warnings in dom/plugins r=jst

This commit is contained in:
David Zbarsky 2012-07-11 20:55:59 -07:00
parent c9728904d1
commit 59d5967dcb
2 changed files with 2 additions and 5 deletions

View File

@ -335,10 +335,7 @@ private:
static nsTArray<nsPluginInstanceOwner*> *sCARefreshListeners;
bool mSentInitialTopLevelWindowEvent;
#endif
// We need to know if async hide window is required since we
// can not check UseAsyncRendering when executing StopPlugin
bool mAsyncHidePluginWindow;
// Initially, the event loop nesting level we were created on, it's updated
// if we detect the appshell is on a lower level as long as we're not stopped.
// We delay DoStopPlugin() until the appshell reaches this level or lower.

View File

@ -233,7 +233,7 @@ PluginInstanceChild::InternalGetNPObjectForValue(NPNVariable aValue,
#ifdef DEBUG
{
NPError currentResult;
PPluginScriptableObjectChild* currentActor;
PPluginScriptableObjectChild* currentActor = nsnull;
switch (aValue) {
case NPNVWindowNPObject: