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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.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
Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
index f75782211ad5915d4b7dff6cfca99b06db745d68..ade183dac0105abf43aaf619cf00a7e005e56a66 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -36,6 +36,7 @@
#include "core/dom/SecurityContext.h"
#include "core/dom/TaskRunnerHelper.h"
#include "core/exported/WebDataSourceImpl.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/inspector/ConsoleMessage.h"
#include "core/loader/FrameLoadRequest.h"
@@ -77,7 +78,6 @@
#include "web/IndexedDBClientImpl.h"
#include "web/ServiceWorkerGlobalScopeClientImpl.h"
#include "web/ServiceWorkerGlobalScopeProxy.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -293,7 +293,7 @@ void WebEmbeddedWorkerImpl::PrepareShadowPageForLoader() {
settings->SetStrictMixedContentChecking(true);
settings->SetAllowRunningOfInsecureContent(false);
settings->SetDataSaverEnabled(worker_start_data_.data_saver_enabled);
- main_frame_ = ToWebLocalFrameImpl(WebLocalFrame::Create(
+ main_frame_ = ToWebLocalFrameBase(WebLocalFrame::Create(
WebTreeScopeType::kDocument, this, nullptr, nullptr));
web_view_->SetMainFrame(main_frame_.Get());
main_frame_->SetDevToolsAgentClient(this);
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h ('k') | third_party/WebKit/Source/web/WebFrameSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698