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

Unified Diff: public/platform/WebPrivatePtr.h

Issue 177243002: Remove unused WebPrivatePtr::operator=(std::nullptr_t). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/platform/WebPrivatePtr.h
diff --git a/public/platform/WebPrivatePtr.h b/public/platform/WebPrivatePtr.h
index 4b3da1c3400713d15b662e19784df23ce6f12de6..5367e2b7f14166bb594e653cb5709abc395107f6 100644
--- a/public/platform/WebPrivatePtr.h
+++ b/public/platform/WebPrivatePtr.h
@@ -224,12 +224,6 @@ public:
return *this;
}
- WebPrivatePtr<T>& operator=(std::nullptr_t&)
- {
- reset();
- return *this;
- }
-
template<typename U>
WebPrivatePtr<T>& operator=(const U& ptr)
{
« 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