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

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: Android/Mac fixes 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..53933c1044ce8904f09f522c49ed4ef584b33a12 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 = toLocalFrame(host.frontendPage()->mainFrame())->document();
return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL));
}

Powered by Google App Engine
This is Rietveld 408576698