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

Unified Diff: Source/web/WebIDBKeyRange.cpp

Issue 173713008: 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 | « Source/web/WebIDBKey.cpp ('k') | public/platform/WebPrivatePtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebIDBKeyRange.cpp
diff --git a/Source/web/WebIDBKeyRange.cpp b/Source/web/WebIDBKeyRange.cpp
index c6d19149e1197372b96c882fcb583677d725bd03..de0740c024fe020107bb1727e163ea0b8ed40a75 100644
--- a/Source/web/WebIDBKeyRange.cpp
+++ b/Source/web/WebIDBKeyRange.cpp
@@ -42,7 +42,7 @@ void WebIDBKeyRange::assign(const WebIDBKeyRange& other)
void WebIDBKeyRange::assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen)
{
if (!lower.isValid() && !upper.isValid())
- m_private.reset();
+ m_private = nullptr;
else
m_private = IDBKeyRange::create(lower, upper, lowerOpen ? IDBKeyRange::LowerBoundOpen : IDBKeyRange::LowerBoundClosed, upperOpen ? IDBKeyRange::UpperBoundOpen : IDBKeyRange::UpperBoundClosed);
}
« no previous file with comments | « Source/web/WebIDBKey.cpp ('k') | public/platform/WebPrivatePtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698