Simplify DiagnosticLoggingClient call sites by: - Moving the Settings::diagnosticLoggingEnabled() check inside the MainFrame::diagnosticLoggingClient() getter - Having MainFrame::diagnosticLoggingClient() return a reference instead of a pointer (returning a dummy client if necessary) Otherwise, each call site needs to both check the setting and do a null-check on the client which is a bit annoying.
Created attachment 245033 [details] Patch
Comment on attachment 245033 [details] Patch r=me
Comment on attachment 245033 [details] Patch Clearing flags on attachment: 245033 Committed r178794: <http://trac.webkit.org/changeset/178794>
All reviewed patches have been landed. Closing bug.