Integrate[r, {θ, 0, Pi/4}, {r, 0, Sqrt[Cos[2 θ]]}]