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

Unified Diff: Source/core/page/Page.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/HistoryController.cpp ('k') | Source/core/page/PointerLockController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index 2ee0d41cf56dd822cc22526758103864c5c24b04..bb6e4eb96d4999dd4a5c1086b8cb48cc644e6add 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -124,7 +124,7 @@ Page::Page(PageClients& pageClients)
, m_defersLoading(false)
, m_pageScaleFactor(1)
, m_deviceScaleFactor(1)
- , m_group(0)
+ , m_group(nullptr)
, m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
, m_visibilityState(PageVisibilityStateVisible)
, m_isCursorVisible(true)
@@ -145,7 +145,7 @@ Page::Page(PageClients& pageClients)
Page::~Page()
{
- m_mainFrame->setView(0);
+ m_mainFrame->setView(nullptr);
clearPageGroup();
allPages().remove(this);
@@ -229,7 +229,7 @@ void Page::clearPageGroup()
if (!m_group)
return;
m_group->removePage(this);
- m_group = 0;
+ m_group = nullptr;
}
void Page::setGroupType(PageGroupType type)
@@ -287,7 +287,7 @@ void Page::refreshPlugins(bool reload)
// Clear out the page's plug-in data.
if (page->m_pluginData)
- page->m_pluginData = 0;
+ page->m_pluginData = nullptr;
if (!reload)
continue;
« no previous file with comments | « Source/core/page/HistoryController.cpp ('k') | Source/core/page/PointerLockController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698