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

Unified Diff: third_party/WebKit/Source/web/MediaKeysClientImpl.cpp

Issue 2871833003: Move more classes to use WebLocalFrameBase from WebLocalFrameImpl. (Closed)
Patch Set: Created 3 years, 7 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/web/MediaKeysClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/MediaKeysClientImpl.cpp b/third_party/WebKit/Source/web/MediaKeysClientImpl.cpp
index 82c05859418e4e0912e55e3bc3c243094ead3436..6f4927c61baa20658974bea08efc56998a71818a 100644
--- a/third_party/WebKit/Source/web/MediaKeysClientImpl.cpp
+++ b/third_party/WebKit/Source/web/MediaKeysClientImpl.cpp
@@ -6,9 +6,9 @@
#include "core/dom/Document.h"
#include "core/dom/ExecutionContext.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "public/platform/WebContentDecryptionModule.h"
#include "public/web/WebFrameClient.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -17,8 +17,8 @@ MediaKeysClientImpl::MediaKeysClientImpl() {}
WebEncryptedMediaClient* MediaKeysClientImpl::EncryptedMediaClient(
ExecutionContext* execution_context) {
Document* document = ToDocument(execution_context);
- WebLocalFrameImpl* web_frame =
- WebLocalFrameImpl::FromFrame(document->GetFrame());
+ WebLocalFrameBase* web_frame =
+ WebLocalFrameBase::FromFrame(document->GetFrame());
return web_frame->Client()->EncryptedMediaClient();
}

Powered by Google App Engine
This is Rietveld 408576698