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

Unified Diff: Source/web/WebIDBKeyRange.cpp

Issue 169653006: [not for commit] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: replace = 0 with = nullptr 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
Index: Source/web/WebIDBKeyRange.cpp
diff --git a/Source/web/WebIDBKeyRange.cpp b/Source/web/WebIDBKeyRange.cpp
index 7ebf607407be8e6ef0552f93608132b6e6f4e30e..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 = 0;
+ m_private = nullptr;
else
m_private = IDBKeyRange::create(lower, upper, lowerOpen ? IDBKeyRange::LowerBoundOpen : IDBKeyRange::LowerBoundClosed, upperOpen ? IDBKeyRange::UpperBoundOpen : IDBKeyRange::UpperBoundClosed);
}

Powered by Google App Engine
This is Rietveld 408576698