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

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements with ContextClient (Closed)
Patch Set: Created 4 years 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/beacon/NavigatorBeacon.cpp
diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
index 33cae5d175d7867981074c4d57e5865dd4411e5f..74dbda37b5d216e237ed8f79428bf9e04954986b 100644
--- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
+++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp
@@ -21,12 +21,12 @@
namespace blink {
NavigatorBeacon::NavigatorBeacon(Navigator& navigator)
- : DOMWindowProperty(navigator.frame()), m_transmittedBytes(0) {}
+ : ContextClient(navigator.frame()), m_transmittedBytes(0) {}
NavigatorBeacon::~NavigatorBeacon() {}
DEFINE_TRACE(NavigatorBeacon) {
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
Supplement<Navigator>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698