Bug 1085187: Properly deal with sampling restriction when using DataSourceSurfaces. r=jrmuizel