Bug 1393536 Clean up unused variables in widget/ r=jimm

MozReview-Commit-ID: 9NBzIriF8NU
This commit is contained in:
Tom Ritter
2017-08-25 10:39:30 -05:00
parent 79dff99ce8
commit 61ce3603b4
3 changed files with 4 additions and 7 deletions

View File

@@ -2285,7 +2285,7 @@ nsIWidget::CaptureRegisteredPlugins(uintptr_t aOwnerWidget)
// a specific top level window. We use the parent widget during iteration
// to skip the plugin widgets owned by other top level windows.
for (auto iter = sPluginWidgetList->Iter(); !iter.Done(); iter.Next()) {
const void* windowId = iter.Key();
DebugOnly<const void*> windowId = iter.Key();
nsIWidget* widget = iter.UserData();
MOZ_ASSERT(windowId);