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

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

Issue 336553003: Change Page::m_mainFrame to be a Frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 6 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: Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp
diff --git a/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp b/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp
index d2d445db0e44478ced49ea10c2bf392c0cf731a0..8c7c8ee559638801e12b8634b620d7372c1ba7d9 100644
--- a/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp
+++ b/Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp
@@ -16,7 +16,7 @@ namespace WebCore {
DOMFileSystem* InspectorFrontendHostFileSystem::isolatedFileSystem(InspectorFrontendHost& host, const String& fileSystemName, const String& rootURL)
{
- ExecutionContext* context = host.frontendPage()->mainFrame()->document();
+ ExecutionContext* context = host.frontendPage()->deprecatedLocalMainFrame()->document();
return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL));
}

Powered by Google App Engine
This is Rietveld 408576698