Remove native_window's dead code.