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

Unified Diff: Source/core/page/HistoryController.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/page/FrameTree.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/HistoryController.cpp
diff --git a/Source/core/page/HistoryController.cpp b/Source/core/page/HistoryController.cpp
index 9b246abcaf4c36368a860d3629df2e4b0589fea4..728fee12f3050878208308d26cb37ca670abdd53 100644
--- a/Source/core/page/HistoryController.cpp
+++ b/Source/core/page/HistoryController.cpp
@@ -230,7 +230,7 @@ void HistoryController::setDefersLoading(bool defer)
m_defersLoading = defer;
if (!defer && m_deferredItem) {
goToItem(m_deferredItem.get(), m_deferredCachePolicy);
- m_deferredItem = 0;
+ m_deferredItem = nullptr;
m_deferredCachePolicy = UseProtocolCachePolicy;
}
}
@@ -278,14 +278,14 @@ static PassRefPtr<HistoryItem> itemForExport(HistoryNode* historyNode)
PassRefPtr<HistoryItem> HistoryController::currentItemForExport()
{
if (!m_currentEntry)
- return 0;
+ return nullptr;
return itemForExport(m_currentEntry->rootHistoryNode());
}
PassRefPtr<HistoryItem> HistoryController::previousItemForExport()
{
if (!m_previousEntry)
- return 0;
+ return nullptr;
return itemForExport(m_previousEntry->rootHistoryNode());
}
« no previous file with comments | « Source/core/page/FrameTree.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698