The removed code allowed rendering of sublayers to a separate offscreen surface. Now that we composite root layer and all sublayers to the window surface, this code is not needed anymore. In addition, we save some memory by not allocating the unused offscreen surface.
PR 208038
Created attachment 165099 [details] Patch
Comment on attachment 165099 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165099&action=review > Source/WebKit/blackberry/Api/WebPage.cpp:-3669 > - if (m_pendingOrientation != -1) > - SurfacePool::globalSurfacePool()->notifyScreenRotated(); > - related?
(In reply to comment #3) > (From update of attachment 165099 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=165099&action=review > > > Source/WebKit/blackberry/Api/WebPage.cpp:-3669 > > - if (m_pendingOrientation != -1) > > - SurfacePool::globalSurfacePool()->notifyScreenRotated(); > > - > > related? Yes, the only reason the surface pool needed to know about screen rotation, was to reallocate the compositing surface at the new size. So it's not needed any more.
Comment on attachment 165099 [details] Patch Clearing flags on attachment: 165099 Committed r129222: <http://trac.webkit.org/changeset/129222>
All reviewed patches have been landed. Closing bug.