|
| 1 | +2017-05-11 Chris Dumez <cdumez@apple.com> |
| 2 | + |
| 3 | + Stop using PassRefPtr in platform/graphics |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=171977 |
| 5 | + |
| 6 | + Reviewed by Alex Christensen. |
| 7 | + |
| 8 | + Stop using PassRefPtr in platform/graphics. |
| 9 | + |
| 10 | + * css/CSSCrossfadeValue.cpp: |
| 11 | + (WebCore::CSSCrossfadeValue::image): |
| 12 | + * css/CSSFilterImageValue.cpp: |
| 13 | + (WebCore::CSSFilterImageValue::image): |
| 14 | + * loader/cache/CachedImage.cpp: |
| 15 | + (WebCore::CachedImage::brokenImage): |
| 16 | + (WebCore::CachedImage::image): |
| 17 | + (WebCore::CachedImage::imageForRenderer): |
| 18 | + * page/PageSerializer.cpp: |
| 19 | + (WebCore::PageSerializer::addImageToResources): |
| 20 | + * platform/ScrollView.cpp: |
| 21 | + (WebCore::ScrollView::paintPanScrollIcon): |
| 22 | + * platform/graphics/CrossfadeGeneratedImage.cpp: |
| 23 | + (WebCore::CrossfadeGeneratedImage::drawCrossfade): |
| 24 | + * platform/graphics/FontPlatformData.h: |
| 25 | + * platform/graphics/GraphicsContext.h: |
| 26 | + * platform/graphics/Image.cpp: |
| 27 | + (WebCore::Image::nullImage): |
| 28 | + * platform/graphics/Image.h: |
| 29 | + * platform/graphics/MediaPlayer.cpp: |
| 30 | + (WebCore::MediaPlayer::createResourceLoader): |
| 31 | + * platform/graphics/MediaPlayer.h: |
| 32 | + * platform/graphics/Pattern.cpp: |
| 33 | + (WebCore::Pattern::create): |
| 34 | + (WebCore::Pattern::Pattern): |
| 35 | + * platform/graphics/Pattern.h: |
| 36 | + * platform/graphics/PlatformTextTrack.h: |
| 37 | + (WebCore::PlatformTextTrack::create): |
| 38 | + (WebCore::PlatformTextTrack::createOutOfBand): |
| 39 | + (WebCore::PlatformTextTrack::captionMenuOffItem): |
| 40 | + (WebCore::PlatformTextTrack::captionMenuAutomaticItem): |
| 41 | + * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: |
| 42 | + (WebCore::InbandMetadataTextTrackPrivateAVF::create): |
| 43 | + (WebCore::InbandMetadataTextTrackPrivateAVF::addDataCue): |
| 44 | + * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.h: |
| 45 | + * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: |
| 46 | + (WebCore::InbandTextTrackPrivateAVF::processAttributedStrings): |
| 47 | + * platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.h: |
| 48 | + * platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm: |
| 49 | + (WebCore::MediaSelectionOptionAVFObjC::create): |
| 50 | + (WebCore::MediaSelectionGroupAVFObjC::create): |
| 51 | + (WebCore::MediaSelectionGroupAVFObjC::updateOptions): |
| 52 | + * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: |
| 53 | + (WebCore::InbandTextTrackPrivateAVCF::create): |
| 54 | + * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: |
| 55 | + (WebCore::InbandTextTrackPrivateLegacyAVCF::create): |
| 56 | + * platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp: |
| 57 | + (WebCore::WebCoreAVCFResourceLoader::create): |
| 58 | + * platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.h: |
| 59 | + * platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.h: |
| 60 | + * platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm: |
| 61 | + (WebCore::CDMSessionAVContentKeySession::generateKeyReleaseMessage): |
| 62 | + * platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.h: |
| 63 | + * platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm: |
| 64 | + (WebCore::CDMSessionAVStreamSession::generateKeyReleaseMessage): |
| 65 | + * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h: |
| 66 | + (WebCore::InbandTextTrackPrivateAVFObjC::create): |
| 67 | + * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: |
| 68 | + (WebCore::InbandTextTrackPrivateLegacyAVFObjC::create): |
| 69 | + * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: |
| 70 | + (WebCore::OutOfBandTextTrackPrivateAVF::create): |
| 71 | + * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h: |
| 72 | + * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm: |
| 73 | + (WebCore::WebCoreAVFResourceLoader::create): |
| 74 | + * platform/graphics/ca/GraphicsLayerCA.cpp: |
| 75 | + (WebCore::GraphicsLayerCA::createPlatformCALayer): |
| 76 | + (WebCore::GraphicsLayerCA::createPlatformCAAnimation): |
| 77 | + (WebCore::GraphicsLayerCA::setContentsToPlatformLayer): |
| 78 | + (WebCore::GraphicsLayerCA::replicatedLayerRoot): |
| 79 | + (WebCore::GraphicsLayerCA::createAnimationFromKeyframes): |
| 80 | + (WebCore::GraphicsLayerCA::appendToUncommittedAnimations): |
| 81 | + (WebCore::GraphicsLayerCA::createBasicAnimation): |
| 82 | + (WebCore::GraphicsLayerCA::createKeyframeAnimation): |
| 83 | + (WebCore::GraphicsLayerCA::createSpringAnimation): |
| 84 | + * platform/graphics/ca/GraphicsLayerCA.h: |
| 85 | + (WebCore::GraphicsLayerCA::LayerPropertyAnimation::LayerPropertyAnimation): |
| 86 | + * platform/graphics/ca/PlatformCAAnimation.h: |
| 87 | + * platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.h: |
| 88 | + * platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm: |
| 89 | + (PlatformCAAnimationCocoa::create): |
| 90 | + (PlatformCAAnimationCocoa::copy): |
| 91 | + * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h: |
| 92 | + * platform/graphics/ca/win/CACFLayerTreeHost.cpp: |
| 93 | + (WebCore::CACFLayerTreeHost::create): |
| 94 | + (WebCore::CACFLayerTreeHost::addPendingAnimatedLayer): |
| 95 | + * platform/graphics/ca/win/CACFLayerTreeHost.h: |
| 96 | + * platform/graphics/ca/win/PlatformCAAnimationWin.cpp: |
| 97 | + (PlatformCAAnimationWin::create): |
| 98 | + (PlatformCAAnimationWin::copy): |
| 99 | + * platform/graphics/ca/win/PlatformCAAnimationWin.h: |
| 100 | + * platform/graphics/ca/win/PlatformCALayerWin.cpp: |
| 101 | + (PlatformCALayerWin::addAnimationForKey): |
| 102 | + * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: |
| 103 | + (WebCore::WKCACFViewLayerTreeHost::create): |
| 104 | + * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h: |
| 105 | + * platform/graphics/cairo/PatternCairo.cpp: |
| 106 | + (WebCore::Pattern::createPlatformPattern): |
| 107 | + * platform/graphics/cairo/PlatformContextCairo.cpp: |
| 108 | + (WebCore::PlatformContextCairo::clipForPatternFilling): |
| 109 | + * platform/graphics/cg/PDFDocumentImage.h: |
| 110 | + * platform/graphics/cg/PatternCG.cpp: |
| 111 | + (WebCore::Pattern::createPlatformPattern): |
| 112 | + * platform/graphics/filters/FEDiffuseLighting.cpp: |
| 113 | + (WebCore::FEDiffuseLighting::FEDiffuseLighting): |
| 114 | + (WebCore::FEDiffuseLighting::create): |
| 115 | + (WebCore::FEDiffuseLighting::lightSource): |
| 116 | + * platform/graphics/filters/FEDiffuseLighting.h: |
| 117 | + * platform/graphics/filters/FELighting.cpp: |
| 118 | + (WebCore::FELighting::FELighting): |
| 119 | + (WebCore::FELighting::drawLighting): |
| 120 | + * platform/graphics/filters/FELighting.h: |
| 121 | + * platform/graphics/filters/FESpecularLighting.cpp: |
| 122 | + (WebCore::FESpecularLighting::FESpecularLighting): |
| 123 | + (WebCore::FESpecularLighting::create): |
| 124 | + (WebCore::FESpecularLighting::lightSource): |
| 125 | + * platform/graphics/filters/FESpecularLighting.h: |
| 126 | + * platform/graphics/filters/FETile.cpp: |
| 127 | + (WebCore::FETile::platformApplySoftware): |
| 128 | + * platform/graphics/filters/FilterEffect.cpp: |
| 129 | + (WebCore::FilterEffect::asUnmultipliedImage): |
| 130 | + (WebCore::FilterEffect::asPremultipliedImage): |
| 131 | + * platform/graphics/filters/FilterEffect.h: |
| 132 | + * platform/graphics/filters/FilterOperation.cpp: |
| 133 | + (WebCore::ReferenceFilterOperation::setFilterEffect): |
| 134 | + (WebCore::BasicColorMatrixFilterOperation::blend): |
| 135 | + (WebCore::BasicComponentTransferFilterOperation::blend): |
| 136 | + (WebCore::BlurFilterOperation::blend): |
| 137 | + (WebCore::DropShadowFilterOperation::blend): |
| 138 | + * platform/graphics/filters/FilterOperation.h: |
| 139 | + (WebCore::FilterOperation::blend): |
| 140 | + (WebCore::PassthroughFilterOperation::create): |
| 141 | + (WebCore::ReferenceFilterOperation::create): |
| 142 | + * platform/graphics/gpu/Texture.cpp: |
| 143 | + (WebCore::Texture::create): |
| 144 | + * platform/graphics/gpu/Texture.h: |
| 145 | + * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h: |
| 146 | + * platform/graphics/gstreamer/ImageGStreamer.h: |
| 147 | + (WebCore::ImageGStreamer::createImage): |
| 148 | + (WebCore::ImageGStreamer::image): |
| 149 | + * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h: |
| 150 | + (WebCore::InbandMetadataTextTrackPrivateGStreamer::create): |
| 151 | + (WebCore::InbandMetadataTextTrackPrivateGStreamer::addGenericCue): |
| 152 | + * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h: |
| 153 | + (WebCore::InbandTextTrackPrivateGStreamer::create): |
| 154 | + * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: |
| 155 | + (WebCore::MediaPlayerPrivateGStreamer::processTableOfContentsEntry): |
| 156 | + * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: |
| 157 | + (WebCore::MediaPlayerPrivateGStreamerBase::paint): |
| 158 | + * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h: |
| 159 | + * platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.cpp: |
| 160 | + (WebCore::MediaSourceClientGStreamerMSE::enqueueSample): |
| 161 | + * platform/graphics/gstreamer/mse/MediaSourceClientGStreamerMSE.h: |
| 162 | + * platform/graphics/gstreamer/mse/MediaSourceGStreamer.cpp: |
| 163 | + * platform/graphics/gstreamer/mse/PlaybackPipeline.cpp: |
| 164 | + (WebCore::PlaybackPipeline::enqueueSample): |
| 165 | + * platform/graphics/gstreamer/mse/PlaybackPipeline.h: |
| 166 | + * platform/graphics/gtk/ImageGtk.cpp: |
| 167 | + (WebCore::loadImageFromGResource): |
| 168 | + (WebCore::loadResourceSharedBuffer): |
| 169 | + (WebCore::loadMissingImageIconFromTheme): |
| 170 | + (WebCore::Image::loadPlatformResource): |
| 171 | + * platform/graphics/harfbuzz/HarfBuzzFace.cpp: |
| 172 | + (WebCore::FaceCacheEntry::create): |
| 173 | + * platform/graphics/harfbuzz/HarfBuzzFace.h: |
| 174 | + (WebCore::HarfBuzzFace::create): |
| 175 | + * platform/graphics/mac/ImageMac.mm: |
| 176 | + (WebCore::Image::loadPlatformResource): |
| 177 | + * platform/graphics/opentype/OpenTypeMathData.h: |
| 178 | + (WebCore::OpenTypeMathData::create): |
| 179 | + * platform/graphics/texmap/BitmapTexture.h: |
| 180 | + (WebCore::BitmapTexture::applyFilters): |
| 181 | + * platform/graphics/texmap/BitmapTextureGL.cpp: |
| 182 | + (WebCore::BitmapTextureGL::applyFilters): |
| 183 | + * platform/graphics/texmap/BitmapTextureGL.h: |
| 184 | + (WebCore::BitmapTextureGL::FilterInfo::FilterInfo): |
| 185 | + * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp: |
| 186 | + (WebCore::GraphicsLayerTextureMapper::commitLayerChanges): |
| 187 | + * platform/graphics/texmap/TextureMapper.cpp: |
| 188 | + (WebCore::TextureMapper::acquireTextureFromPool): |
| 189 | + * platform/graphics/texmap/TextureMapper.h: |
| 190 | + * platform/graphics/texmap/TextureMapperGL.cpp: |
| 191 | + (WebCore::TextureMapperGL::createTexture): |
| 192 | + * platform/graphics/texmap/TextureMapperGL.h: |
| 193 | + * platform/graphics/texmap/TextureMapperLayer.cpp: |
| 194 | + (WebCore::TextureMapperLayer::paintIntoSurface): |
| 195 | + (WebCore::commitSurface): |
| 196 | + (WebCore::TextureMapperLayer::paintWithIntermediateSurface): |
| 197 | + (WebCore::TextureMapperLayer::setBackingStore): |
| 198 | + * platform/graphics/texmap/TextureMapperLayer.h: |
| 199 | + * platform/graphics/texmap/TextureMapperTiledBackingStore.h: |
| 200 | + (WebCore::TextureMapperTiledBackingStore::create): |
| 201 | + * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: |
| 202 | + (WebCore::CoordinatedGraphicsLayer::syncImageBacking): |
| 203 | + * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h: |
| 204 | + * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp: |
| 205 | + (WebCore::CoordinatedImageBacking::create): |
| 206 | + (WebCore::CoordinatedImageBacking::CoordinatedImageBacking): |
| 207 | + * platform/graphics/texmap/coordinated/CoordinatedImageBacking.h: |
| 208 | + * platform/graphics/win/ImageWin.cpp: |
| 209 | + (WebCore::Image::loadPlatformResource): |
| 210 | + * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp: |
| 211 | + (WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer): |
| 212 | + * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h: |
| 213 | + * platform/graphics/win/PatternDirect2D.cpp: |
| 214 | + (WebCore::Pattern::createPlatformPattern): |
| 215 | + * platform/graphics/win/SharedGDIObject.h: |
| 216 | + (WebCore::SharedGDIObject::create): |
| 217 | + * rendering/FilterEffectRenderer.cpp: |
| 218 | + (WebCore::FilterEffectRenderer::build): |
| 219 | + * rendering/RenderImageResource.cpp: |
| 220 | + (WebCore::RenderImageResource::image): |
| 221 | + * rendering/RenderLayer.cpp: |
| 222 | + (WebCore::RenderLayer::drawPlatformResizerImage): |
| 223 | + * rendering/svg/RenderSVGResourcePattern.cpp: |
| 224 | + (WebCore::RenderSVGResourcePattern::buildPattern): |
| 225 | + * svg/SVGFEDiffuseLightingElement.cpp: |
| 226 | + (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute): |
| 227 | + (WebCore::SVGFEDiffuseLightingElement::build): |
| 228 | + * svg/SVGFESpecularLightingElement.cpp: |
| 229 | + (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute): |
| 230 | + (WebCore::SVGFESpecularLightingElement::build): |
| 231 | + * svg/graphics/SVGImageCache.cpp: |
| 232 | + (WebCore::SVGImageCache::imageForRenderer): |
| 233 | + |
1 | 234 | 2017-05-11 Joseph Pecoraro <pecoraro@apple.com> |
2 | 235 |
|
3 | 236 | Remove Vibration API |
|
0 commit comments