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

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

Issue 2881693002: Move more classes to WebLocalFrameBase instead of 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index 7cecaa06c56bb0041edb6e5c4e82cb79e0b88453..b6358692fa2b5d1f3b5337391baf1b337f8ae388 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -35,6 +35,7 @@
#include "core/dom/TaskRunnerHelper.h"
#include "core/events/MessageEvent.h"
#include "core/exported/WebDataSourceImpl.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/inspector/ConsoleMessage.h"
#include "core/loader/FrameLoadRequest.h"
#include "core/loader/FrameLoader.h"
@@ -75,7 +76,6 @@
#include "public/web/WebWorkerContentSettingsClientProxy.h"
#include "web/IndexedDBClientImpl.h"
#include "web/LocalFileSystemClient.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -137,7 +137,7 @@ void WebSharedWorkerImpl::InitializeLoader() {
// FIXME: Settings information should be passed to the Worker process from
// Browser process when the worker is created (similar to
// RenderThread::OnCreateNewView).
- main_frame_ = ToWebLocalFrameImpl(WebLocalFrame::Create(
+ main_frame_ = ToWebLocalFrameBase(WebLocalFrame::Create(
WebTreeScopeType::kDocument, this,
Platform::Current()->GetInterfaceProvider(), nullptr));
web_view_->SetMainFrame(main_frame_.Get());
@@ -334,7 +334,7 @@ void WebSharedWorkerImpl::OnScriptLoaderFinished() {
if (RuntimeEnabledFeatures::offMainThreadFetchEnabled()) {
std::unique_ptr<WebWorkerFetchContext> web_worker_fetch_context =
client_->CreateWorkerFetchContext(
- WebLocalFrameImpl::FromFrame(main_frame_->GetFrame())
+ WebLocalFrameBase::FromFrame(main_frame_->GetFrame())
->DataSource()
->GetServiceWorkerNetworkProvider());
DCHECK(web_worker_fetch_context);
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698