If you graphed the two functions (use special values to get points), the intersection points are at π/2 and 3π/2.
The second function is inside the first between these two bounds but it is easier to use symmetry and take the integral from π/2 to π and double. Remember inner function< outer function within bounds of integration.
2∫[1-(1+cos θ)]dθ = 2∫-cos θ dθ = -2sin 0]π/2π = 2