gecko-dev/gfx/thebes
Andrew McCreight 5a1eb609f9 Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj
If a class A is derived from a class B, then an instance of A can be
converted to an instance of class B via a static cast, so QI is not
needed. QIs are slower than static casts.

TestCallTemplates seems to be testing that CallQueryInterface compiles
even if the first argument's class is only ambiguously castable to
nsISupports, so I changed the second argument to be a class unrelated
to the concrete class.

I also removed some useless null checks on the return value of new.

Differential Revision: https://phabricator.services.mozilla.com/D6838

--HG--
extra : moz-landing-system : lando
2018-09-27 14:59:55 +00:00
..
CJKCompatSVS.cpp
D3D11Checks.cpp
D3D11Checks.h
DeviceManagerDx.cpp Bug 1490528 - do not preload attachments for D3D11 Non-WR compositor when WR is used r=mattwoodrow 2018-09-13 13:23:38 +09:00
DeviceManagerDx.h
DrawMode.h
PrintTarget.cpp
PrintTarget.h
PrintTargetCG.h
PrintTargetCG.mm
PrintTargetEMF.cpp
PrintTargetEMF.h
PrintTargetPDF.cpp
PrintTargetPDF.h
PrintTargetPS.cpp
PrintTargetPS.h
PrintTargetRecording.cpp
PrintTargetRecording.h
PrintTargetSkPDF.cpp
PrintTargetSkPDF.h
PrintTargetThebes.cpp
PrintTargetThebes.h
PrintTargetWindows.cpp
PrintTargetWindows.h
SkMemoryReporter.cpp
SkMemoryReporter.h
SoftwareVsyncSource.cpp
SoftwareVsyncSource.h
VsyncSource.cpp
VsyncSource.h
cairo-xlib-utils.h
d3dkmtQueryStatistics.h
genLanguageTagList.pl
gencjkcisvs.py
gfx2DGlue.h
gfxASurface.cpp
gfxASurface.h
gfxAlphaRecovery.cpp
gfxAlphaRecovery.h
gfxAlphaRecoverySSE2.cpp
gfxAndroidPlatform.cpp
gfxAndroidPlatform.h
gfxBaseSharedMemorySurface.cpp
gfxBaseSharedMemorySurface.h
gfxBlur.cpp Bug 1486810 - round sizes in blur assertion. r=rhunt 2018-09-11 14:33:45 -04:00
gfxBlur.h
gfxColor.h
gfxContext.cpp
gfxContext.h
gfxCoreTextShaper.cpp
gfxCoreTextShaper.h
gfxDWriteCommon.cpp
gfxDWriteCommon.h
gfxDWriteFontList.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxDWriteFontList.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxDWriteFonts.cpp Bug 1479640: Restructure cleartype parameter code to run less frequently and only in the parent process. r=jrmuizel 2018-09-13 18:59:27 +00:00
gfxDWriteFonts.h Bug 1479640: Restructure cleartype parameter code to run less frequently and only in the parent process. r=jrmuizel 2018-09-13 18:59:27 +00:00
gfxDrawable.cpp
gfxDrawable.h
gfxEnv.h Bug 1486875: Make it possible to skip composition or painting using environment variables. r=mstange 2018-09-04 00:18:11 +00:00
gfxFT2FontBase.cpp
gfxFT2FontBase.h
gfxFT2FontList.cpp Bug 1491860 - Use utf-8 rather than utf-16 strings to read/store font family names from preferences, as they're almost entirely ASCII. r=lsalzman 2018-09-18 09:34:24 +01:00
gfxFT2FontList.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFT2Fonts.cpp
gfxFT2Fonts.h
gfxFT2Utils.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFT2Utils.h
gfxFailure.h
gfxFcPlatformFontList.cpp Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
gfxFcPlatformFontList.h Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
gfxFont.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFont.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontConstants.h
gfxFontEntry.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontEntry.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontFamilyList.h Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
gfxFontFeatures.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontFeatures.h Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
gfxFontInfoLoader.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontInfoLoader.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxFontMissingGlyphs.cpp Bug 1485358 - fix purging of missing glyph WebRender users. r=me 2018-08-22 11:12:33 -04:00
gfxFontMissingGlyphs.h Bug 1479196 - draw missing glyphs from an atlas instead of rectangles. r=jfkthame 2018-08-21 12:40:36 -04:00
gfxFontPrefLangList.h
gfxFontSrcPrincipal.cpp
gfxFontSrcPrincipal.h
gfxFontSrcURI.cpp
gfxFontSrcURI.h
gfxFontUtils.cpp Bug 1491860 - Use utf-8 rather than utf-16 strings to read/store font family names from preferences, as they're almost entirely ASCII. r=lsalzman 2018-09-18 09:34:24 +01:00
gfxFontUtils.h Bug 1491860 - Use utf-8 rather than utf-16 strings to read/store font family names from preferences, as they're almost entirely ASCII. r=lsalzman 2018-09-18 09:34:24 +01:00
gfxFontVariations.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxGDIFont.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxGDIFont.h
gfxGDIFontList.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxGDIFontList.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxGdkNativeRenderer.cpp
gfxGdkNativeRenderer.h
gfxGlyphExtents.cpp
gfxGlyphExtents.h Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
gfxGradientCache.cpp
gfxGradientCache.h
gfxGraphiteShaper.cpp
gfxGraphiteShaper.h
gfxHarfBuzzShaper.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxHarfBuzzShaper.h
gfxImageSurface.cpp
gfxImageSurface.h
gfxLanguageTagList.cpp
gfxLineSegment.h
gfxMacFont.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxMacFont.h
gfxMacPlatformFontList.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxMacPlatformFontList.mm Bug 1492220 - Fix encoding-form mismatch in macOS impl of GetVariationAxes. r=lsalzman 2018-09-19 09:25:58 +01:00
gfxMathTable.cpp
gfxMathTable.h
gfxMatrix.h
gfxPattern.cpp
gfxPattern.h
gfxPlatform.cpp Bug 1493196 - Add reporting for texture memory. r=jrmuizel 2018-09-26 09:41:38 -07:00
gfxPlatform.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxPlatformFontList.cpp Bug 1493220 - Migrate mozIOSPreferences to use Array<> interface. r=jfkthame 2018-09-22 07:49:05 +00:00
gfxPlatformFontList.h Bug 1492518 - Remove 16-bit version of GenerateFontListKey, no longer used anywhere. r=lsalzman 2018-09-20 14:23:26 +01:00
gfxPlatformGtk.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxPlatformGtk.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxPlatformMac.cpp Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxPlatformMac.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxPoint.h
gfxPrefs.cpp Bug 1430038 - Part 3: Construct IPC connection for VR/GPU process; r=kip, jimm, jgilbert 2018-08-06 22:47:18 -07:00
gfxPrefs.h Bug 1492930 - Part 4. Add ImageMemoryReporter to support extra shared surfaces reporting. r=tnikkel 2018-09-25 09:13:51 -04:00
gfxQuad.h
gfxQuartzNativeDrawing.cpp
gfxQuartzNativeDrawing.h
gfxQuartzSurface.cpp
gfxQuartzSurface.h
gfxQuaternion.h
gfxRect.h
gfxSVGGlyphs.cpp
gfxSVGGlyphs.h
gfxScriptItemizer.cpp
gfxScriptItemizer.h
gfxSharedImageSurface.h
gfxSkipChars.cpp
gfxSkipChars.h
gfxTextRun.cpp Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
gfxTextRun.h Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman 2018-09-12 20:34:57 +01:00
gfxTypes.h
gfxUserFontSet.cpp Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
gfxUserFontSet.h Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
gfxUtils.cpp Bug 1493276 - Statically prevent CallQueryInterface to a base class r=froydnj 2018-09-27 14:59:55 +00:00
gfxUtils.h
gfxWindowsNativeDrawing.cpp
gfxWindowsNativeDrawing.h
gfxWindowsPlatform.cpp Bug 1479640: Restructure cleartype parameter code to run less frequently and only in the parent process. r=jrmuizel 2018-09-13 18:59:27 +00:00
gfxWindowsPlatform.h
gfxWindowsSurface.cpp
gfxWindowsSurface.h
gfxXlibNativeRenderer.cpp
gfxXlibNativeRenderer.h
gfxXlibSurface.cpp
gfxXlibSurface.h
moz.build Bug 1491279: Backed out clang-cl workaround from bug 1479842 that is no longer needed. r=me 2018-09-14 08:30:56 -04:00
nsUnicodeRange.cpp
nsUnicodeRange.h