Density Structure of a Preeruption Coronal Flux Rope