diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/bytecode/InlineCallFrameSet.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/JavaScriptCore/bytecode/InlineCallFrameSet.h')
-rw-r--r-- | Source/JavaScriptCore/bytecode/InlineCallFrameSet.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h b/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h index 0a8b2e79c..6c6184173 100644 --- a/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h +++ b/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h @@ -23,17 +23,15 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef InlineCallFrameSet_h -#define InlineCallFrameSet_h +#pragma once #include "CodeOrigin.h" #include <wtf/Bag.h> -#include <wtf/Noncopyable.h> +#include <wtf/RefCounted.h> namespace JSC { -class InlineCallFrameSet { - WTF_MAKE_NONCOPYABLE(InlineCallFrameSet); +class InlineCallFrameSet : public RefCounted<InlineCallFrameSet> { public: InlineCallFrameSet(); ~InlineCallFrameSet(); @@ -45,12 +43,9 @@ public: typedef Bag<InlineCallFrame>::iterator iterator; iterator begin() { return m_frames.begin(); } iterator end() { return m_frames.end(); } - + private: Bag<InlineCallFrame> m_frames; }; } // namespace JSC - -#endif // InlineCallFrameSet_h - |