Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: Disabling Inspector causes build failure on Windows · cd728636
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=83557
    
    Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-04-18
    Reviewed by Pavel Feldman.
    
    The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
    This change brings all such API calls under the guard.
    
    Source/WebKit/win:
    
    * WebCoreSupport/WebInspectorClient.cpp:
    * WebInspector.cpp:
    * WebNodeHighlight.cpp:
    (WebNodeHighlight::WebNodeHighlight):
    (WebNodeHighlight::update):
    * WebNodeHighlight.h:
    (WebNodeHighlight):
    * WebView.cpp:
    (WebView::WebView):
    (WebView::close):
    (WebView::initWithFrame):
    (WebView::inspector):
    * WebView.h:
    (WebView):
    
    Tools:
    
    * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
    (WTR::LayoutTestController::showWebInspector):
    (WTR::LayoutTestController::closeWebInspector):
    (WTR::LayoutTestController::evaluateInWebInspector):
    (WTR::LayoutTestController::setJavaScriptProfilingEnabled):
    * WebKitTestRunner/TestInvocation.cpp:
    (WTR::TestInvocation::invoke):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cd728636