Index: Source/modules/battery/BatteryStatus.cpp |
diff --git a/Source/modules/battery/BatteryStatus.cpp b/Source/modules/battery/BatteryStatus.cpp |
index 92fc723df7ffa16a8e9476b0dc4afb8394dfe907..bed3805fd920eb11586c9f3b3982af4c3a5c9757 100644 |
--- a/Source/modules/battery/BatteryStatus.cpp |
+++ b/Source/modules/battery/BatteryStatus.cpp |
@@ -9,14 +9,14 @@ |
namespace WebCore { |
-PassRefPtr<BatteryStatus> BatteryStatus::create() |
+PassRefPtrWillBeRawPtr<BatteryStatus> BatteryStatus::create() |
{ |
- return adoptRef(new BatteryStatus); |
+ return adoptRefWillBeNoop(new BatteryStatus); |
} |
-PassRefPtr<BatteryStatus> BatteryStatus::create(bool charging, double chargingTime, double dischargingTime, double level) |
+PassRefPtrWillBeRawPtr<BatteryStatus> BatteryStatus::create(bool charging, double chargingTime, double dischargingTime, double level) |
{ |
- return adoptRef(new BatteryStatus(charging, chargingTime, dischargingTime, level)); |
+ return adoptRefWillBeNoop(new BatteryStatus(charging, chargingTime, dischargingTime, level)); |
} |
BatteryStatus::BatteryStatus() |
@@ -36,4 +36,3 @@ BatteryStatus::BatteryStatus(bool charging, double chargingTime, double discharg |
} |
} // namespace WebCore |
- |