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()); |
} |