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

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

Issue 2865953002: Move more users of WebLocalFrameImpl to WebLocalFrameBase. (Closed)
Patch Set: Convert DedicatedWorkerMessagingProxyProviderImpl to use WebLocalFrameBase. 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/DedicatedWorkerMessagingProxyProviderImpl.cpp
diff --git a/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp b/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
index 8dbb41a1a933080b5eddaa5d70644bd9e4d7b58c..7ba93126495ac0977de8a4e6e194d62f8e593c8a 100644
--- a/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
+++ b/third_party/WebKit/Source/web/DedicatedWorkerMessagingProxyProviderImpl.cpp
@@ -31,6 +31,7 @@
#include "web/DedicatedWorkerMessagingProxyProviderImpl.h"
#include "core/dom/Document.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/loader/WorkerFetchContext.h"
#include "core/workers/DedicatedWorkerMessagingProxy.h"
#include "core/workers/Worker.h"
@@ -46,7 +47,6 @@
#include "public/web/WebWorkerContentSettingsClientProxy.h"
#include "web/IndexedDBClientImpl.h"
#include "web/LocalFileSystemClient.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -59,8 +59,8 @@ DedicatedWorkerMessagingProxyProviderImpl::CreateWorkerMessagingProxy(
Worker* worker) {
if (worker->GetExecutionContext()->IsDocument()) {
Document* document = ToDocument(worker->GetExecutionContext());
- WebLocalFrameImpl* web_frame =
- WebLocalFrameImpl::FromFrame(document->GetFrame());
+ WebLocalFrameBase* web_frame =
+ WebLocalFrameBase::FromFrame(document->GetFrame());
WorkerClients* worker_clients = WorkerClients::Create();
ProvideIndexedDBClientToWorker(
worker_clients, IndexedDBClientImpl::Create(*worker_clients));
« no previous file with comments | « third_party/WebKit/Source/web/ContextMenuClientImpl.cpp ('k') | third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698