Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 711656 - Fix bug in D2D blocklisting check - r=Bas, a=akeybl CLOS…

…ED TREE

Two-fold bug:
 - d2dDisabled was set there, only to be overwritten below at line 432
 - d2dBlocked was only set there for certain status values, should have been set for any status != NO_INFO.

See https://bugzilla.mozilla.org/show_bug.cgi?id=711656#c85

--HG--
branch : COMM110_2012030910_RELBRANCH
extra : transplant_source : %27%0CR%F5%E8%C2%2B%28L%0E%9E%90%B6%95%9A%60W%BF%7C%F8
  • Loading branch information...
commit 2d12d873f30981734589b992752607e433f31a64 1 parent 7d99d80
bjacob bjacob authored

Showing 1 changed file with 1 addition and 6 deletions. Show diff stats Hide diff stats

  1. +1 6 gfx/thebes/gfxWindowsPlatform.cpp
7 gfx/thebes/gfxWindowsPlatform.cpp
@@ -243,12 +243,7 @@ gfxWindowsPlatform::UpdateRenderMode()
243 243 PRInt32 status;
244 244 if (NS_SUCCEEDED(gfxInfo->GetFeatureStatus(nsIGfxInfo::FEATURE_DIRECT2D, &status))) {
245 245 if (status != nsIGfxInfo::FEATURE_NO_INFO) {
246   - d2dDisabled = true;
247   - if (status == nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION ||
248   - status == nsIGfxInfo::FEATURE_BLOCKED_DEVICE)
249   - {
250   - d2dBlocked = true;
251   - }
  246 + d2dBlocked = true;
252 247 }
253 248 }
254 249 }

0 comments on commit 2d12d87

Please sign in to comment.
Something went wrong with that request. Please try again.