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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase 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/modules/indexeddb/IDBRequest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequestTest.cpp
diff --git a/Source/modules/indexeddb/IDBRequestTest.cpp b/Source/modules/indexeddb/IDBRequestTest.cpp
index a63a5fc9b823bb81cdd82d806511543cff082893..3dc1bf24d5daec2ac5d70d064abc544c968e7854 100644
--- a/Source/modules/indexeddb/IDBRequestTest.cpp
+++ b/Source/modules/indexeddb/IDBRequestTest.cpp
@@ -99,13 +99,13 @@ TEST_F(IDBRequestTest, EventsAfterStopping)
// Ensure none of the following raise assertions in stopped state:
request->onError(DOMError::create(AbortError, "Description goes here."));
request->onSuccess(Vector<String>());
- request->onSuccess(nullptr, IDBKey::createInvalid(), IDBKey::createInvalid(), 0);
+ request->onSuccess(nullptr, IDBKey::createInvalid(), IDBKey::createInvalid(), nullptr);
request->onSuccess(IDBKey::createInvalid());
- request->onSuccess(PassRefPtr<SharedBuffer>(0));
- request->onSuccess(PassRefPtr<SharedBuffer>(0), IDBKey::createInvalid(), IDBKeyPath());
+ request->onSuccess(PassRefPtr<SharedBuffer>(nullptr));
+ request->onSuccess(PassRefPtr<SharedBuffer>(nullptr), IDBKey::createInvalid(), IDBKeyPath());
request->onSuccess(0LL);
request->onSuccess();
- request->onSuccess(IDBKey::createInvalid(), IDBKey::createInvalid(), 0);
+ request->onSuccess(IDBKey::createInvalid(), IDBKey::createInvalid(), nullptr);
}
TEST_F(IDBRequestTest, AbortErrorAfterAbort)
« no previous file with comments | « Source/modules/indexeddb/IDBRequest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698