[Webkit-unassigned] [Bug 83557] Web Inspector: Disabling Inspector causes build failure on Windows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 10 04:29:34 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83557
Pavel Feldman <pfeldman at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136414|review?, commit-queue? |review-, commit-queue-
Flag| |
--- Comment #6 from Pavel Feldman <pfeldman at chromium.org> 2012-04-10 04:29:30 PST ---
(From update of attachment 136414)
View in context: https://bugs.webkit.org/attachment.cgi?id=136414&action=review
> Source/WebKit/win/WebNodeHighlight.cpp:163
> m_inspectedWebView->page()->inspectorController()->drawHighlight(context);
You should wrap m_inspectedWebView in header as well for additional compile-time checks.
> Source/WebKit/win/WebView.cpp:715
> if (m_webInspector)
Ditto
> Source/WebKit/win/WebView.cpp:2664
> m_inspectorClient = new WebInspectorClient(this);
Ditto
> Source/WebKit/win/WebView.cpp:5776
> HRESULT STDMETHODCALLTYPE WebView::inspector(IWebInspector** inspector)
You probably want to wrap the method instead of its body to make sure call sites are not accessing it in the disabled inspector mode.
> Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:461
> void LayoutTestController::showWebInspector()
Is there a way to hide methods altogether instead of commenting out their bodies and wrap the call sites? Call site should not mention "inspector" when ENABLE(INSPECTOR) is off.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list