Frogs that raise their young in tiny pools of water that collect on plant leaves must make a delicate trade-off between the risk of drying out and the risk of being eaten, according to a new study.