From f57b4ed1ff5f2bc68b31238c26cd9cca963eca44 Mon Sep 17 00:00:00 2001 From: Bas Schouten Date: Sun, 11 Mar 2012 22:33:22 +0000 Subject: [PATCH] Bug 734478: Prevent shadowing of adapter1 variable in VerifyD2DDevice. r=jrmuizel --- gfx/thebes/gfxWindowsPlatform.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp index e8b04770d37..630fbc282da 100644 --- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -526,7 +526,6 @@ gfxWindowsPlatform::VerifyD2DDevice(bool aAttemptForce) return; } - nsRefPtr adapter1; hr = factory1->EnumAdapters1(0, getter_AddRefs(adapter1)); if (SUCCEEDED(hr) && adapter1) {