Fix code style in Window class

Verification: batch build.

Change-Id: Ic5b705ff38aadb54dcd3d0f11bccc6b9c8d93d5f