GraphicsSurface should only store its size in a single place.
Created attachment 175810 [details] Patch
Sorry Kenneth, i messed up here. There is something missing in this patch. I need to add a ctor for GraphicsSurfacePrivate that takes a winId as an argument as well. I'll upload an updated patch.
OK fine!
Created attachment 175857 [details] Patch
Comment on attachment 175857 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175857&action=review > Source/WebCore/ChangeLog:25 > + Retreive the size from GraphicsSurfacePrivate where necessary. retrieve* > Source/WebCore/ChangeLog:39 > + Retreive the size from GraphicsSurfacePrivate where necessary. retrieve*
Committed r135706: <http://trac.webkit.org/changeset/135706>