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

Unified Diff: third_party/WebKit/public/platform/WebPassOwnPtr.h

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try again for MSVC Created 5 years, 1 month 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/public/platform/WebPassOwnPtr.h
diff --git a/third_party/WebKit/public/platform/WebPassOwnPtr.h b/third_party/WebKit/public/platform/WebPassOwnPtr.h
index 217bd5404fe6e6ca6f1d9c0efefe2d58f254b097..9813d66ee7efe9ebce652cb7e95153859c21ee71 100644
--- a/third_party/WebKit/public/platform/WebPassOwnPtr.h
+++ b/third_party/WebKit/public/platform/WebPassOwnPtr.h
@@ -52,6 +52,11 @@ public:
}
#endif // INSIDE_BLINK
+ T* get() const
jochen (gone - plz use gerrit) 2015/11/16 11:51:44 that breaks the ownership semantics of this class.
alex clarke (OOO till 29th) 2015/11/23 17:13:46 Done.
+ {
+ return m_ptr;
+ }
+
template <typename U> friend class WebPassOwnPtr;
template <typename U> friend WebPassOwnPtr<U> adoptWebPtr(U*);

Powered by Google App Engine
This is Rietveld 408576698