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

Unified Diff: Source/WebCore/page/SecurityOrigin.cpp

Issue 8856006: WebKit changes needed for supporting filesystem URLs natively in GURL/KURL. (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk
Patch Set: Remove dead constructor code. Created 9 years 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/WebCore/fileapi/EntryBase.cpp ('k') | Source/WebCore/platform/KURL.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/SecurityOrigin.cpp
diff --git a/Source/WebCore/page/SecurityOrigin.cpp b/Source/WebCore/page/SecurityOrigin.cpp
index 4436694fc6014ca73f4ed1950ea8bbc2ae1766e9..f5828eca2424c86f3e647e28bf94d0bf0b6c05f7 100644
--- a/Source/WebCore/page/SecurityOrigin.cpp
+++ b/Source/WebCore/page/SecurityOrigin.cpp
@@ -82,6 +82,10 @@ static bool shouldUseInnerURL(const KURL& url)
// security origin can be parsed using this algorithm.
static KURL extractInnerURL(const KURL& url)
{
+#if ENABLE(FILE_SYSTEM)
+ if (url.innerURL())
+ return *url.innerURL();
+#endif
// FIXME: Update this callsite to use the innerURL member function when
// we finish implementing it.
return KURL(ParsedURLString, decodeURLEscapeSequences(url.path()));
« no previous file with comments | « Source/WebCore/fileapi/EntryBase.cpp ('k') | Source/WebCore/platform/KURL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698