Commit 51f40272 authored by ggaren@apple.com's avatar ggaren@apple.com

2011-03-13 Geoffrey Garen <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Removed one case of DeprecatedPtr (ScopeChainIterator)
        https://bugs.webkit.org/show_bug.cgi?id=56277

        * runtime/ScopeChain.h: Direct pointer is fine for ScopeChainIterator,
        since it's a stack-allocated temporary.


git-svn-id: svn://svn.chromium.org/blink/trunk@80976 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9e30b009
2011-03-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Removed one case of DeprecatedPtr (ScopeChainIterator)
https://bugs.webkit.org/show_bug.cgi?id=56277
* runtime/ScopeChain.h: Direct pointer is fine for ScopeChainIterator,
since it's a stack-allocated temporary.
2011-03-13 Gavin Barraclough <barraclough@apple.com> 2011-03-13 Gavin Barraclough <barraclough@apple.com>
Reviewed by Sam Weinig. Reviewed by Sam Weinig.
......
...@@ -100,7 +100,7 @@ namespace JSC { ...@@ -100,7 +100,7 @@ namespace JSC {
bool operator!=(const ScopeChainIterator& other) const { return m_node != other.m_node; } bool operator!=(const ScopeChainIterator& other) const { return m_node != other.m_node; }
private: private:
DeprecatedPtr<ScopeChainNode> m_node; ScopeChainNode* m_node;
}; };
inline ScopeChainIterator ScopeChainNode::begin() inline ScopeChainIterator ScopeChainNode::begin()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment