This regression was triggered by r122554. We should only cache ShareableSurfaces, when they are GraphicsSurface based.
Created attachment 152979 [details] patch for review.
Committed r122948: <http://trac.webkit.org/changeset/122948>