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

Unified Diff: content/renderer/shared_worker_repository.cc

Issue 138333006: Now that RenderFrame is 1:1 with WebFrame, add the associated getters and start cleaning up assumpt… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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: content/renderer/shared_worker_repository.cc
===================================================================
--- content/renderer/shared_worker_repository.cc (revision 244810)
+++ content/renderer/shared_worker_repository.cc (working copy)
@@ -14,14 +14,11 @@
SharedWorkerRepository::SharedWorkerRepository(RenderFrameImpl* render_frame)
: RenderFrameObserver(render_frame) {
+ render_frame->GetWebFrame()->setSharedWorkerRepositoryClient(this);
}
SharedWorkerRepository::~SharedWorkerRepository() {}
-void SharedWorkerRepository::WebFrameCreated(blink::WebFrame* frame) {
- frame->setSharedWorkerRepositoryClient(this);
-}
-
blink::WebSharedWorkerConnector*
SharedWorkerRepository::createSharedWorkerConnector(
const blink::WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698