Called from RenderTheme code, and therefor with an IntRect, we need to make sure we handle variables from the render tree properly.
Created attachment 135613 [details] Patch Not yet requesting a review since this isn't enabled on Apple's Mac port. I want to see this pass the Chromium EWS bot to ensure the refactoring is correct first.
Comment on attachment 135613 [details] Patch Attachment 135613 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12320971
Created attachment 135628 [details] Patch2 Now with 100% fewer compiler errors?
My patch had some refactoring, but the main issue is resolved. *** This bug has been marked as a duplicate of bug 83089 ***