summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/appcache/ManifestParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/appcache/ManifestParser.cpp')
-rw-r--r--WebCore/loader/appcache/ManifestParser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/loader/appcache/ManifestParser.cpp b/WebCore/loader/appcache/ManifestParser.cpp
index 4169313..a2df825 100644
--- a/WebCore/loader/appcache/ManifestParser.cpp
+++ b/WebCore/loader/appcache/ManifestParser.cpp
@@ -114,8 +114,8 @@ bool parseManifest(const KURL& manifestURL, const char* data, int length, Manife
if (!url.isValid())
continue;
- if (url.hasRef())
- url.setRef(String());
+ if (url.hasFragmentIdentifier())
+ url.removeFragmentIdentifier();
if (!equalIgnoringCase(url.protocol(), manifestURL.protocol()))
continue;
@@ -141,8 +141,8 @@ bool parseManifest(const KURL& manifestURL, const char* data, int length, Manife
KURL namespaceURL(manifestURL, String(line.characters(), p - line.characters()));
if (!namespaceURL.isValid())
continue;
- if (namespaceURL.hasRef())
- namespaceURL.setRef(String());
+ if (namespaceURL.hasFragmentIdentifier())
+ namespaceURL.removeFragmentIdentifier();
if (!protocolHostAndPortAreEqual(manifestURL, namespaceURL))
continue;
@@ -159,8 +159,8 @@ bool parseManifest(const KURL& manifestURL, const char* data, int length, Manife
KURL fallbackURL(manifestURL, String(fallbackStart, p - fallbackStart));
if (!fallbackURL.isValid())
continue;
- if (fallbackURL.hasRef())
- fallbackURL.setRef(String());
+ if (fallbackURL.hasFragmentIdentifier())
+ fallbackURL.removeFragmentIdentifier();
if (!protocolHostAndPortAreEqual(manifestURL, fallbackURL))
continue;