| Index: third_party/WebKit/Source/platform/heap/Handle.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/Handle.h b/third_party/WebKit/Source/platform/heap/Handle.h
|
| index 69cb7575950ac9f977932624164767e83a43e6da..5881ba1a2d8820f48b4b6b47cdada1edbd9d3e73 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Handle.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Handle.h
|
| @@ -1064,6 +1064,18 @@ private:
|
| CrossThreadWeakPersistent<T> m_value;
|
| };
|
|
|
| +template <typename T>
|
| +Persistent<T> wrapPersistent(T* value)
|
| +{
|
| + return Persistent<T>(value);
|
| +}
|
| +
|
| +template <typename T>
|
| +CrossThreadPersistent<T> wrapCrossThreadPersistent(T* value)
|
| +{
|
| + return CrossThreadPersistent<T>(value);
|
| +}
|
| +
|
| // LEAK_SANITIZER_DISABLED_SCOPE: all allocations made in the current scope
|
| // will be exempted from LSan consideration.
|
| //
|
|
|