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

Unified Diff: trunk/Source/web/WebIDBKeyRange.cpp

Issue 169763006: Revert 167612 "Remove unused WebPrivatePtr::operator=(std::nullp..." (Closed) Base URL: svn://svn.chromium.org/blink/
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 | « trunk/Source/web/WebIDBKey.cpp ('k') | trunk/public/platform/WebPrivatePtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/web/WebIDBKeyRange.cpp
===================================================================
--- trunk/Source/web/WebIDBKeyRange.cpp (revision 167614)
+++ trunk/Source/web/WebIDBKeyRange.cpp (working copy)
@@ -42,7 +42,7 @@
void WebIDBKeyRange::assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen)
{
if (!lower.isValid() && !upper.isValid())
- m_private = nullptr;
+ m_private.reset();
else
m_private = IDBKeyRange::create(lower, upper, lowerOpen ? IDBKeyRange::LowerBoundOpen : IDBKeyRange::LowerBoundClosed, upperOpen ? IDBKeyRange::UpperBoundOpen : IDBKeyRange::UpperBoundClosed);
}
« no previous file with comments | « trunk/Source/web/WebIDBKey.cpp ('k') | trunk/public/platform/WebPrivatePtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698