Index: third_party/WebKit/Source/modules/budget/BudgetService.cpp |
diff --git a/third_party/WebKit/Source/modules/budget/BudgetService.cpp b/third_party/WebKit/Source/modules/budget/BudgetService.cpp |
index 1def7099bdffe9f51fb6de1af893276ef914aaaf..532d95890bd23d5d1edd151fab23f461eccfdf8c 100644 |
--- a/third_party/WebKit/Source/modules/budget/BudgetService.cpp |
+++ b/third_party/WebKit/Source/modules/budget/BudgetService.cpp |
@@ -71,9 +71,10 @@ ScriptPromise BudgetService::getCost(ScriptState* scriptState, |
ScriptPromise promise = resolver->promise(); |
// Get the cost for the action from the browser BudgetService. |
- m_service->GetCost(type, convertToBaseCallback(WTF::bind( |
- &BudgetService::gotCost, wrapPersistent(this), |
- wrapPersistent(resolver)))); |
+ m_service->GetCost(type, |
+ convertToBaseCallback(WTF::bind( |
+ &BudgetService::gotCost, wrapPersistent(this), |
+ wrapPersistent(resolver)))); |
return promise; |
} |
@@ -96,10 +97,10 @@ ScriptPromise BudgetService::getBudget(ScriptState* scriptState) { |
// Get the budget from the browser BudgetService. |
RefPtr<SecurityOrigin> origin( |
scriptState->getExecutionContext()->getSecurityOrigin()); |
- m_service->GetBudget( |
- origin, convertToBaseCallback(WTF::bind(&BudgetService::gotBudget, |
- wrapPersistent(this), |
- wrapPersistent(resolver)))); |
+ m_service->GetBudget(origin, |
+ convertToBaseCallback(WTF::bind( |
+ &BudgetService::gotBudget, wrapPersistent(this), |
+ wrapPersistent(resolver)))); |
return promise; |
} |