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

Unified Diff: Source/web/WebEmbeddedWorkerImpl.cpp

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 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
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | Source/web/WebFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp
index 7e60179428c20c33a9773cd6d021c9a2f7176829..d64c702619cd5e4b12b09a90318404dd7134799f 100644
--- a/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -34,7 +34,7 @@
#include "ServiceWorkerGlobalScopeClientImpl.h"
#include "ServiceWorkerGlobalScopeProxy.h"
#include "WebDataSourceImpl.h"
-#include "WebFrameImpl.h"
+#include "WebLocalFrameImpl.h"
#include "WebServiceWorkerContextClient.h"
#include "WebServiceWorkerNetworkProvider.h"
#include "WebView.h"
@@ -113,7 +113,7 @@ public:
virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask> task) OVERRIDE
{
- toWebFrameImpl(m_embeddedWorker.m_mainFrame)->frame()->document()->postTask(task);
+ toWebLocalFrameImpl(m_embeddedWorker.m_mainFrame)->frame()->document()->postTask(task);
}
virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask> task) OVERRIDE
@@ -156,7 +156,7 @@ WebEmbeddedWorkerImpl::~WebEmbeddedWorkerImpl()
ASSERT(m_webView);
// Detach the client before closing the view to avoid getting called back.
- toWebFrameImpl(m_mainFrame)->setClient(0);
+ toWebLocalFrameImpl(m_mainFrame)->setClient(0);
m_webView->close();
m_mainFrame->close();
@@ -196,7 +196,7 @@ void WebEmbeddedWorkerImpl::prepareShadowPageForLoader()
m_mainFrame = WebLocalFrame::create(this);
m_webView->setMainFrame(m_mainFrame);
- WebFrameImpl* webFrame = toWebFrameImpl(m_webView->mainFrame());
+ WebLocalFrameImpl* webFrame = toWebLocalFrameImpl(m_webView->mainFrame());
// Construct substitute data source for the 'shadow page'. We only need it
// to have same origin as the worker so the loading checks work correctly.
@@ -223,7 +223,7 @@ void WebEmbeddedWorkerImpl::didFinishDocumentLoad(WebLocalFrame* frame)
m_networkProvider = adoptPtr(m_workerContextClient->createServiceWorkerNetworkProvider(frame->dataSource()));
m_mainScriptLoader = Loader::create();
m_mainScriptLoader->load(
- toWebFrameImpl(m_mainFrame)->frame()->document(),
+ toWebLocalFrameImpl(m_mainFrame)->frame()->document(),
m_workerStartData.scriptURL,
bind(&WebEmbeddedWorkerImpl::onScriptLoaderFinished, this));
}
@@ -264,7 +264,7 @@ void WebEmbeddedWorkerImpl::onScriptLoaderFinished()
m_mainScriptLoader.clear();
- m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *toWebFrameImpl(m_mainFrame)->frame()->document(), *contextClient);
+ m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *toWebLocalFrameImpl(m_mainFrame)->frame()->document(), *contextClient);
m_loaderProxy = LoaderProxy::create(*this);
m_workerThread = ServiceWorkerThread::create(*m_loaderProxy, *m_workerGlobalScopeProxy, startupData.release());
« no previous file with comments | « Source/web/WebDocument.cpp ('k') | Source/web/WebFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698