We present a neutron reflectivity study on interfaces in contact with flowing hexadecane, which is known to exhibit surface slip on functionalized solid surfaces. The single crystalline silicon substrates were either chemically cleaned Si(100) or Si(100) coated by octadecyl-trichlorosilane (OTS), which resulted in different interfacial energies. The liquid was sheared in situ and changes in reflectivity profiles were compared to the static case. For the OTS surface, the temperature dependence was also recorded. For both types of interfaces, density depletion of the liquid at the interface was observed. In the case of the bare Si substrate, shear load altered the structure of the depletion layer, whereas for the OTS covered surface no effect of shear was observed. Possible links between the depletion layer and surface slip are discussed. The results show that, in contrast to water, for hexadecane the enhancement of the depletion layer with temperature and interfacial energy reduces the amount of slip. Thus a density depletion cannot be the origin of surface slip in this system.