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

Unified Diff: third_party/WebKit/Source/modules/vr/NavigatorVR.h

Issue 2618713002: Remove ContextClient from NavigatorVR (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
Index: third_party/WebKit/Source/modules/vr/NavigatorVR.h
diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.h b/third_party/WebKit/Source/modules/vr/NavigatorVR.h
index fb6489d51e064b6468453fdccc417f0ccd9cdcff..a4d5a38b16ef9a72b3b8683dacb840f3d939dfaf 100644
--- a/third_party/WebKit/Source/modules/vr/NavigatorVR.h
+++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.h
@@ -6,7 +6,6 @@
#define NavigatorVR_h
#include "bindings/core/v8/ScriptPromise.h"
-#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/LocalDOMWindow.h"
#include "core/frame/Navigator.h"
#include "core/page/PageVisibilityObserver.h"
@@ -27,7 +26,6 @@ class VRController;
class MODULES_EXPORT NavigatorVR final
: public GarbageCollectedFinalized<NavigatorVR>,
public Supplement<Navigator>,
- public ContextClient,
public PageVisibilityObserver,
public LocalDOMWindow::EventListenerObserver {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorVR);
@@ -64,7 +62,7 @@ class MODULES_EXPORT NavigatorVR final
friend class VRDisplay;
friend class VRGetDevicesCallback;
- explicit NavigatorVR(LocalFrame*);
+ explicit NavigatorVR(Navigator&);
static const char* supplementName();

Powered by Google App Engine
This is Rietveld 408576698