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

Unified Diff: third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp

Issue 2229283003: Convert Budget to BudgetService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated global interface list Created 4 years, 4 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
Index: third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp
diff --git a/third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp b/third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp
index a7f36bd4e44463adbcdc8c6e382f2e1e39033442..c9ceb2dc96340cdc46e9fb0f5d98658f0721d86b 100644
--- a/third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp
+++ b/third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp
@@ -5,7 +5,7 @@
#include "modules/budget/NavigatorBudget.h"
#include "core/frame/Navigator.h"
-#include "modules/budget/Budget.h"
+#include "modules/budget/BudgetService.h"
namespace blink {
@@ -32,15 +32,15 @@ NavigatorBudget& NavigatorBudget::from(Navigator& navigator)
return *navigatorBudget;
}
-Budget* NavigatorBudget::budget()
+BudgetService* NavigatorBudget::budget()
{
if (!m_budget)
- m_budget = Budget::create();
+ m_budget = BudgetService::create();
return m_budget.get();
}
// static
-Budget* NavigatorBudget::budget(Navigator& navigator)
+BudgetService* NavigatorBudget::budget(Navigator& navigator)
{
return NavigatorBudget::from(navigator).budget();
}

Powered by Google App Engine
This is Rietveld 408576698