author | Jeff Gilbert <jgilbert@mozilla.com> |
Fri, 12 Oct 2018 15:21:40 -0700 | |
changeset 441030 | 0c5f5c2e2a860f9f681e301662aabe2deca8be4b |
parent 441029 | 64298e3625ed2a90ec6b64bfba0fb630ab607d2b |
child 441031 | 8421b16c011ba49a2e495f81853b282413aa7650 |
push id | 108894 |
push user | jgilbert@mozilla.com |
push date | Sat, 13 Oct 2018 04:38:04 +0000 |
treeherder | mozilla-inbound@0c5f5c2e2a86 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
milestone | 64.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/plugins/test/testplugin/nptest_windows.cpp +++ b/dom/plugins/test/testplugin/nptest_windows.cpp @@ -66,18 +66,16 @@ bool pluginSupportsWindowlessMode() { return true; } NPError pluginInstanceInit(InstanceData* instanceData) { - NPP npp = instanceData->npp; - instanceData->platformData = static_cast<PlatformData*> (NPN_MemAlloc(sizeof(PlatformData))); if (!instanceData->platformData) return NPERR_OUT_OF_MEMORY_ERROR; instanceData->platformData->childWindow = nullptr; instanceData->platformData->device = nullptr; instanceData->platformData->frontBuffer = nullptr;
--- a/gfx/thebes/gfxGDIFontList.cpp +++ b/gfx/thebes/gfxGDIFontList.cpp @@ -655,19 +655,18 @@ gfxGDIFontList::InitFontListForPlatform( mNonExistingFonts.Clear(); // iterate over available families LOGFONTW logfont; memset(&logfont, 0, sizeof(logfont)); logfont.lfCharSet = DEFAULT_CHARSET; AutoDC hdc; - int result = EnumFontFamiliesExW(hdc.GetDC(), &logfont, - (FONTENUMPROCW)&EnumFontFamExProc, - 0, 0); + (void)EnumFontFamiliesExW(hdc.GetDC(), &logfont, + (FONTENUMPROCW)&EnumFontFamExProc, 0, 0); GetFontSubstitutes(); GetPrefsAndStartLoader(); return NS_OK; }
--- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -1293,27 +1293,27 @@ gfxWindowsPlatform::IsOptimus() { knowIsOptimus = 1; } else { knowIsOptimus = 0; } } return knowIsOptimus; } - +/* static inline bool IsWARPStable() { // It seems like nvdxgiwrap makes a mess of WARP. See bug 1154703. if (!IsWin8OrLater() || GetModuleHandleA("nvdxgiwrap.dll")) { return false; } return true; } - +*/ static void InitializeANGLEConfig() { FeatureState& d3d11ANGLE = gfxConfig::GetFeature(Feature::D3D11_HW_ANGLE); if (!gfxConfig::IsEnabled(Feature::D3D11_COMPOSITING)) { d3d11ANGLE.DisableByDefault(FeatureStatus::Unavailable, "D3D11 compositing is disabled", NS_LITERAL_CSTRING("FEATURE_FAILURE_D3D11_DISABLED"));