[Qt] Fix build without 3D_GRAPHICS
Created attachment 187118 [details] Patch
Committed r142129: <http://trac.webkit.org/changeset/142129>