Remove two unused variables, no bug

--HG--
extra : rebase_source : 1d2fb26b146037905d729c0bc68105969c63de61
This commit is contained in:
Ehsan Akhgari 2012-08-27 17:30:56 -04:00
parent 35ec2259d2
commit f69de91a53
2 changed files with 0 additions and 2 deletions

View File

@ -94,7 +94,6 @@ nsWebBrowserContentPolicy::ShouldProcess(uint32_t contentType,
}
nsIDocShell *shell = NS_CP_GetDocShellFromContext(requestingContext);
bool allowed;
if (shell && (!shell->PluginsAllowedInCurrentDoc())) {
*shouldProcess = nsIContentPolicy::REJECT_TYPE;
}

View File

@ -2111,7 +2111,6 @@ nsWindow::OnExposeEvent(cairo_t *cr)
}
// If this widget uses OMTC...
if (GetLayerManager()->AsShadowForwarder() && GetLayerManager()->AsShadowForwarder()->HasShadowManager()) {
nsEventStatus status;
#if defined(MOZ_WIDGET_GTK2)
nsRefPtr<gfxContext> ctx = new gfxContext(GetThebesSurface());
#else