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

Unified Diff: third_party/WebKit/Source/modules/battery/NavigatorBattery.h

Issue 2646383002: Use a new Supplement constructor for (Worker)Navigator supplements (Closed)
Patch Set: temp Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/battery/NavigatorBattery.h
diff --git a/third_party/WebKit/Source/modules/battery/NavigatorBattery.h b/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
index c960a3c8111c7ae5854c8b0f50810166f8a77624..3fa167dea845369bc8566df43467696fd53aee02 100644
--- a/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
+++ b/third_party/WebKit/Source/modules/battery/NavigatorBattery.h
@@ -28,7 +28,7 @@ class NavigatorBattery final : public GarbageCollected<NavigatorBattery>,
DECLARE_TRACE();
private:
- NavigatorBattery();
+ explicit NavigatorBattery(Navigator&);
static const char* supplementName();
Member<BatteryManager> m_batteryManager;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/battery/NavigatorBattery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698