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

Unified Diff: public/web/WebNode.h

Issue 400473002: Oilpan: remove now-unused WebNode(Member<T>) constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNode.h
diff --git a/public/web/WebNode.h b/public/web/WebNode.h
index a2d72e799ee13597be3db63e2d32fdef80baf8c4..09a308ee11efea58da187f76ed93ffe9cc28fe95 100644
--- a/public/web/WebNode.h
+++ b/public/web/WebNode.h
@@ -147,18 +147,6 @@ public:
WebNode(const PassRefPtrWillBeRawPtr<WebCore::Node>&);
WebNode& operator=(const PassRefPtrWillBeRawPtr<WebCore::Node>&);
operator PassRefPtrWillBeRawPtr<WebCore::Node>() const;
-#if ENABLE(OILPAN)
- // This constructor enables creation of WebNodes from Members
- // holding WebCore::Node-derived objects (this shows up in WebVector
- // assignments, for instance.) It is needed because a RawPtr<T> constructor
- // from a Member<U> isn't provided, hence the above constructor
- // won't be usable.
- template<typename U>
- WebNode(const WebCore::Member<U>& other, EnsurePtrConvertibleArgDecl(U, WebCore::Node))
- : m_private(other.get())
- {
- }
-#endif
#endif
#if BLINK_IMPLEMENTATION
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698