| Index: Source/platform/WebThreadRawPtr.h
|
| diff --git a/Source/platform/WebThreadRawPtr.h b/Source/platform/WebThreadRawPtr.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0307cc29e0dfc03df9d53f9069b9d68c0b7de912
|
| --- /dev/null
|
| +++ b/Source/platform/WebThreadRawPtr.h
|
| @@ -0,0 +1,18 @@
|
| +#ifndef WEBTHREADRAWPTR
|
| +#define WEBTHREADRAWPTR
|
| +
|
| +namespace blink {
|
| +
|
| +class WebThreadRawPtr : public WebThreadPtr {
|
| + public:
|
| + WebThreadRawPtr(WebThread* t) : m_ptr(t) {}
|
| + virtual WebThread& operator*() const { return *m_ptr; }
|
| + virtual WebThread* operator->() const { return m_ptr; }
|
| +
|
| + private:
|
| + WebThread* m_ptr;
|
| +};
|
| +
|
| +}
|
| +
|
| +#endif /* ifndef WEBTHREADRAWPTR */
|
|
|