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

Unified Diff: Source/modules/accessibility/AXSlider.cpp

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/modules/accessibility/AXSlider.h ('k') | Source/modules/accessibility/AXSpinButton.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXSlider.cpp
diff --git a/Source/modules/accessibility/AXSlider.cpp b/Source/modules/accessibility/AXSlider.cpp
index fe8da1d6a955113f1223f324849cf7181a16762c..08da600931e38bfd10cc2d86359cbcb1648f9e49 100644
--- a/Source/modules/accessibility/AXSlider.cpp
+++ b/Source/modules/accessibility/AXSlider.cpp
@@ -44,9 +44,9 @@ AXSlider::AXSlider(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
{
}
-PassRefPtr<AXSlider> AXSlider::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
+PassRefPtrWillBeRawPtr<AXSlider> AXSlider::create(LayoutObject* layoutObject, AXObjectCacheImpl& axObjectCache)
{
- return adoptRef(new AXSlider(layoutObject, axObjectCache));
+ return adoptRefWillBeNoop(new AXSlider(layoutObject, axObjectCache));
}
AccessibilityRole AXSlider::determineAccessibilityRole()
@@ -143,9 +143,9 @@ AXSliderThumb::AXSliderThumb(AXObjectCacheImpl& axObjectCache)
{
}
-PassRefPtr<AXSliderThumb> AXSliderThumb::create(AXObjectCacheImpl& axObjectCache)
+PassRefPtrWillBeRawPtr<AXSliderThumb> AXSliderThumb::create(AXObjectCacheImpl& axObjectCache)
{
- return adoptRef(new AXSliderThumb(axObjectCache));
+ return adoptRefWillBeNoop(new AXSliderThumb(axObjectCache));
}
LayoutRect AXSliderThumb::elementRect() const
« no previous file with comments | « Source/modules/accessibility/AXSlider.h ('k') | Source/modules/accessibility/AXSpinButton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698