How would there be a change in frequency?You haven't specified that whether it is current leading or voltage leading?
As we know, capacitor shows phase shift such that current leads voltage, and if it is in the case of inductor, the phase shift is in the form of voltage leading. So, you can conclude that, by using capacitor or inductor, according to your requirement.
But, there will be change in frequency. So, check it out first, then use it.
OK. That makes more sense now.The amount of leading or lagging will vary as freq changes.
The passive component have no effect on the freq itself, but have a specific reaction at a specific freq. and that is what changes IF the freq is different