The code that used oldPrimaryLayer is gone, so this is now just an unnecessary ref/deref.
Created attachment 237447 [details] patch
http://trac.webkit.org/changeset/173160