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

Unified Diff: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp

Issue 1166553004: IndexedDB: Replace 0 with nullptr where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: MOAR Created 5 years, 7 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 | Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
diff --git a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
index e667158e9ebd8d80855013357ca2efe1c02d301d..905a8a0f4651610dcaa4347536ba673fe5c4e9a7 100644
--- a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
+++ b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
@@ -84,14 +84,14 @@ IDBFactory* DOMWindowIndexedDatabase::indexedDB()
{
Document* document = m_window.document();
if (!document)
- return 0;
+ return nullptr;
Page* page = document->page();
if (!page)
- return 0;
+ return nullptr;
if (!m_window.isCurrentlyDisplayedInFrame())
- return 0;
+ return nullptr;
if (!m_idbFactory)
m_idbFactory = IDBFactory::create(IndexedDBClient::create());
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698