Changeset 167785 in webkit


Ignore:
Timestamp:
Apr 24, 2014 5:51:14 PM (10 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: Restore PageDebuggerAgent::enable / disable
https://bugs.webkit.org/show_bug.cgi?id=132156

Restore functions that were eroniously removed in r167530.

Reviewed by Joseph Pecoraro.

  • inspector/PageDebuggerAgent.cpp:

(WebCore::PageDebuggerAgent::enable): Added.
(WebCore::PageDebuggerAgent::disable): Added.

  • inspector/PageDebuggerAgent.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167784 r167785  
     12014-04-24  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: Restore PageDebuggerAgent::enable / disable
     4        https://bugs.webkit.org/show_bug.cgi?id=132156
     5
     6        Restore functions that were eroniously removed in r167530.
     7
     8        Reviewed by Joseph Pecoraro.
     9
     10        * inspector/PageDebuggerAgent.cpp:
     11        (WebCore::PageDebuggerAgent::enable): Added.
     12        (WebCore::PageDebuggerAgent::disable): Added.
     13        * inspector/PageDebuggerAgent.h:
     14
    1152014-04-24  Alexey Proskuryakov  <ap@apple.com>
    216
  • trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp

    r167530 r167785  
    5757    , m_scriptDebugServer(*pageAgent->page())
    5858{
     59}
     60
     61void PageDebuggerAgent::enable()
     62{
     63    WebDebuggerAgent::enable();
     64    m_instrumentingAgents->setPageDebuggerAgent(this);
     65}
     66
     67void PageDebuggerAgent::disable(bool isBeingDestroyed)
     68{
     69    WebDebuggerAgent::disable(isBeingDestroyed);
     70    m_instrumentingAgents->setPageDebuggerAgent(nullptr);
    5971}
    6072
  • trunk/Source/WebCore/inspector/PageDebuggerAgent.h

    r167530 r167785  
    5757
    5858protected:
     59    virtual void enable() override;
     60    virtual void disable(bool isBeingDestroyed) override;
     61
    5962    virtual String sourceMapURLForScript(const Script&) override;
    6063
Note: See TracChangeset for help on using the changeset viewer.