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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp

Issue 2811213002: Move ScriptState::GetExecutionContext (Part 6) (Closed)
Patch Set: Rebase Created 3 years, 8 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/mediastream/MediaDevicesRequest.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
index fadef15b5279d29485bf396fd4e08f1c71550f41..556a7efa740b1bfe74ebf0cb0c8b0f6d04a2df2a 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp
@@ -41,7 +41,7 @@ MediaDevicesRequest* MediaDevicesRequest::Create(
MediaDevicesRequest::MediaDevicesRequest(ScriptState* state,
UserMediaController* controller)
- : ContextLifecycleObserver(state->GetExecutionContext()),
+ : ContextLifecycleObserver(ExecutionContext::From(state)),
controller_(controller),
resolver_(ScriptPromiseResolver::Create(state)) {}

Powered by Google App Engine
This is Rietveld 408576698