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

Unified Diff: Source/core/clipboard/DataTransferItem.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/core/clipboard/DataObjectItem.cpp ('k') | Source/core/clipboard/DataTransferItemList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransferItem.cpp
diff --git a/Source/core/clipboard/DataTransferItem.cpp b/Source/core/clipboard/DataTransferItem.cpp
index 0ae522fa982ca369716ed9099b56d0699baeb875..30b9b9f4154bb22e8fad583899555b80dff6bb46 100644
--- a/Source/core/clipboard/DataTransferItem.cpp
+++ b/Source/core/clipboard/DataTransferItem.cpp
@@ -84,7 +84,7 @@ void DataTransferItem::getAsString(ExecutionContext* context, PassOwnPtr<StringC
PassRefPtr<Blob> DataTransferItem::getAsFile() const
{
if (!m_clipboard->canReadData())
- return 0;
+ return nullptr;
return m_item->getAsFile();
}
« no previous file with comments | « Source/core/clipboard/DataObjectItem.cpp ('k') | Source/core/clipboard/DataTransferItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698