WebKit2 does not compile with inspector disabled.
Created attachment 74667 [details] proposed patch
Comment on attachment 74667 [details] proposed patch I realized that after r72606 I can simplify this a bit.
Created attachment 74673 [details] proposed patch v2 No need for ifs in the Qt Api.
Do we really need these guards ? +#if ENABLE(INSPECTOR) class InspectorObject; +#endif
Comment on attachment 74673 [details] proposed patch v2 Rejecting patch 74673 from commit-queue. Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=abarth-cq-sl', 'land-attachment', '--force-clean', '--ignore-builders', '--non-interactive', '--parent-command=commit-queue', 74673]" exit_code: 2 Last 500 characters of output: bexec/git-core/git-svn line 558 Failed to run "[u'git', u'svn', u'dcommit']" exit_code: 1 Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog RA layer request failed: Server sent unexpected return value (500 Internal Server Error) in response to PUT request for '/repository/webkit/!svn/wrk/2a76944f-3c7f-41d5-9907-b010ee326c57/trunk/WebCore/ChangeLog' at /usr/local/git/libexec/git-core/git-svn line 558 Failed to run "[u'git', u'svn', u'dcommit']" exit_code: 1 Full output: http://queues.webkit.org/results/6372028
Committed r72666: <http://trac.webkit.org/changeset/72666>
Comment on attachment 74673 [details] proposed patch v2 Before landing I removed the if's around forward declared classes since they are not needed as Laszlo pointed out correctly. Thanks. Clearing flags.