Update for ui -> gfx moves in Chrome 31

See https://codereview.chromium.org/23769011.