mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove two unused variables, no bug
--HG-- extra : rebase_source : 1d2fb26b146037905d729c0bc68105969c63de61
This commit is contained in:
parent
35ec2259d2
commit
f69de91a53
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user