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

Unified Diff: Source/modules/filesystem/DevToolsHostFileSystem.cpp

Issue 900543003: DevTools: do not abuse inspector controller for the front-end side plumbing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed initializer. Created 5 years, 10 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/core/loader/FrameLoader.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DevToolsHostFileSystem.cpp
diff --git a/Source/modules/filesystem/DevToolsHostFileSystem.cpp b/Source/modules/filesystem/DevToolsHostFileSystem.cpp
index a80843f81f37f070efc0c1c694cc426c8a052731..d2ea9df5d62f5f5c0a85b14c73a1cc84870bc981 100644
--- a/Source/modules/filesystem/DevToolsHostFileSystem.cpp
+++ b/Source/modules/filesystem/DevToolsHostFileSystem.cpp
@@ -16,7 +16,7 @@ namespace blink {
DOMFileSystem* DevToolsHostFileSystem::isolatedFileSystem(DevToolsHost& host, const String& fileSystemName, const String& rootURL)
{
- ExecutionContext* context = host.frontendPage()->deprecatedLocalMainFrame()->document();
+ ExecutionContext* context = host.frontendFrame()->document();
return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL));
}
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698