Index: content/browser/devtools/devtools_power_handler.cc |
diff --git a/content/browser/devtools/devtools_power_handler.cc b/content/browser/devtools/devtools_power_handler.cc |
index d71482ff9b0c955ba5e30572dc1408c4e7747b68..4a72296967cb320ab190d713569d225d6ac418f6 100644 |
--- a/content/browser/devtools/devtools_power_handler.cc |
+++ b/content/browser/devtools/devtools_power_handler.cc |
@@ -21,9 +21,7 @@ DevToolsPowerHandler::DevToolsPowerHandler() { |
RegisterCommandHandler(devtools::Power::canProfilePower::kName, |
base::Bind(&DevToolsPowerHandler::OnCanProfilePower, |
base::Unretained(this))); |
- // TODO(vivekg): Replace hardcoded "Power.getAccuracyLevel" with |
- // devtools::Power::getAccuracyLevel::kName once crrev.com/336713005 lands |
- RegisterCommandHandler("Power.getAccuracyLevel" , |
+ RegisterCommandHandler(devtools::Power::getAccuracyLevel::kName, |
base::Bind(&DevToolsPowerHandler::OnGetAccuracyLevel, |
base::Unretained(this))); |
} |