it should
Created attachment 222473 [details] patch
Attachment 222473 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderView.cpp:1269: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 222473 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=222473&action=review > Source/WebCore/dom/Document.cpp:4316 > - return m_frame ? m_frame->mainFrame().document() : const_cast<Document*>(this); > + return m_frame ? *m_frame->mainFrame().document() : const_cast<Document&>(*this); We should make this 100% safe by null-checking MainFrame::document and falling back to this in that case too. And if we ever change MainFrame::document to return a reference we can delete that branch.
https://trac.webkit.org/r162962
Looks like it does not build on iOS.
Never mind, I am late on the internal updates. Antti already fixed the build.