Suppose $T$ is a bounded operator from $L^2$ to $L^2$ that commutes with pointwise multiplication by any continuous function $g$. That is, if $f\in L^2$,
$$gT(f)=T(gf).$$
Why must $T$ necessarily be multiplication by a $L^\infty$ function?
I am asking this question in order to understand the answer of Matthew Daws here.