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

Unified Diff: Source/core/accessibility/AXObjectCache.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/accessibility/AXNodeObject.cpp ('k') | Source/core/accessibility/AXScrollView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObjectCache.cpp
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp
index 0c74d9a2b904a574f9590d25bdfedf479d8a2c25..ab3412f5e26800016b6687337a37960cffc943cc 100644
--- a/Source/core/accessibility/AXObjectCache.cpp
+++ b/Source/core/accessibility/AXObjectCache.cpp
@@ -334,7 +334,7 @@ AXObject* AXObjectCache::getOrCreate(Widget* widget)
if (AXObject* obj = get(widget))
return obj;
- RefPtr<AXObject> newObj = 0;
+ RefPtr<AXObject> newObj = nullptr;
if (widget->isFrameView())
newObj = AXScrollView::create(toScrollView(widget));
else if (widget->isScrollbar())
@@ -452,7 +452,7 @@ AXObject* AXObjectCache::rootObject()
AXObject* AXObjectCache::getOrCreate(AccessibilityRole role)
{
- RefPtr<AXObject> obj = 0;
+ RefPtr<AXObject> obj = nullptr;
// will be filled in...
switch (role) {
@@ -484,7 +484,7 @@ AXObject* AXObjectCache::getOrCreate(AccessibilityRole role)
obj = AXSpinButtonPart::create();
break;
default:
- obj = 0;
+ obj = nullptr;
}
if (obj)
« no previous file with comments | « Source/core/accessibility/AXNodeObject.cpp ('k') | Source/core/accessibility/AXScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698