Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: third_party/WebKit/Source/platform/bindings/SharedPersistent.h

Issue 2851563004: Add documentation for platform/bindings (Closed)
Patch Set: Address code review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/bindings/SharedPersistent.h
diff --git a/third_party/WebKit/Source/platform/bindings/SharedPersistent.h b/third_party/WebKit/Source/platform/bindings/SharedPersistent.h
index 5677ef46176935b4d9e9b165494c755079e3f23b..59e50979f80a00e340214adf4262d1986ed2b726 100644
--- a/third_party/WebKit/Source/platform/bindings/SharedPersistent.h
+++ b/third_party/WebKit/Source/platform/bindings/SharedPersistent.h
@@ -38,6 +38,9 @@
namespace blink {
+// A ref counted version of ScopedPersistent. This class is intended for use by
+// ScriptValue and not for normal use. Consider using ScopedPersistent directly
+// instead.
template <typename T>
class SharedPersistent : public RefCounted<SharedPersistent<T>> {
WTF_MAKE_NONCOPYABLE(SharedPersistent);

Powered by Google App Engine
This is Rietveld 408576698