Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
This commit is contained in:
@@ -611,7 +611,7 @@ PluginInstanceParent::RecvShow(const NPRect& updatedRect,
|
||||
// the plugin. We might still have drawing operations
|
||||
// referencing it.
|
||||
#ifdef MOZ_X11
|
||||
if (mFrontSurface->GetType() == gfxSurfaceTypeXlib) {
|
||||
if (mFrontSurface->GetType() == gfxSurfaceType::Xlib) {
|
||||
// Finish with the surface and XSync here to ensure the server has
|
||||
// finished operations on the surface before the plugin starts
|
||||
// scribbling on it again, or worse, destroys it.
|
||||
|
||||
Reference in New Issue
Block a user