Changeset 49832 in webkit


Ignore:
Timestamp:
Oct 19, 2009 7:59:23 PM (15 years ago)
Author:
timothy@apple.com
Message:

Small changes to fully invalidate and update the JavaScriptCallFrame.

Patch by Oliver Hunt <oliver@apple.com> on 2009-10-19
<rdar://problem/7020755> JSDebugger crashes after reloading from a breakpoint
https://bugs.webkit.org/show_bug.cgi?id=27146

Reviewed by Timothy Hatcher.

  • inspector/JavaScriptCallFrame.h:

(WebCore::JavaScriptCallFrame::invalidate):
(WebCore::JavaScriptCallFrame::update):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49830 r49832  
     12009-10-19  Oliver Hunt  <oliver@apple.com>
     2
     3        Small changes to fully invalidate and update the JavaScriptCallFrame.
     4
     5        <rdar://problem/7020755> JSDebugger crashes after reloading from a breakpoint
     6        https://bugs.webkit.org/show_bug.cgi?id=27146
     7
     8        Reviewed by Timothy Hatcher.
     9
     10        * inspector/JavaScriptCallFrame.h:
     11        (WebCore::JavaScriptCallFrame::invalidate):
     12        (WebCore::JavaScriptCallFrame::update):
     13
    1142009-10-19  Jeremy Orlow  <jorlow@chromium.org>
    215
  • trunk/WebCore/inspector/JavaScriptCallFrame.h

    r45733 r49832  
    4545        }
    4646
    47         void invalidate() { m_isValid = false; }
     47        void invalidate()
     48        {
     49            m_isValid = false;
     50            m_debuggerCallFrame = 0;
     51        }
     52
    4853        bool isValid() const { return m_isValid; }
    4954
     
    5762            m_line = line;
    5863            m_sourceID = sourceID;
     64            m_isValid = true;
    5965        }
    6066
Note: See TracChangeset for help on using the changeset viewer.