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/runtime/ArrayBufferNeuteringWatchpoint.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h b/Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h index 96dbd69c7..263ac772e 100644 --- a/Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h +++ b/Source/JavaScriptCore/runtime/ArrayBufferNeuteringWatchpoint.h @@ -23,38 +23,35 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef ArrayBufferNeuteringWatchpoint_h -#define ArrayBufferNeuteringWatchpoint_h +#pragma once #include "JSCell.h" #include "Watchpoint.h" namespace JSC { -class ArrayBufferNeuteringWatchpoint : public JSCell { +class ArrayBufferNeuteringWatchpoint final : public JSCell { public: typedef JSCell Base; - -private: - ArrayBufferNeuteringWatchpoint(VM&); - -public: + static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal; + DECLARE_INFO; static ArrayBufferNeuteringWatchpoint* create(VM&); static const bool needsDestruction = true; - static const bool hasImmortalStructure = true; static void destroy(JSCell*); static Structure* createStructure(VM&); WatchpointSet* set() { return m_set.get(); } + + void fireAll(); private: + explicit ArrayBufferNeuteringWatchpoint(VM&); + RefPtr<WatchpointSet> m_set; }; } // namespace JSC - -#endif // ArrayBufferNeuteringWatchpoint_h |