summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/WebSecurityOrigin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/WebSecurityOrigin.cpp')
-rw-r--r--WebKit/chromium/src/WebSecurityOrigin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebKit/chromium/src/WebSecurityOrigin.cpp b/WebKit/chromium/src/WebSecurityOrigin.cpp
index 3cf7364..81546da 100644
--- a/WebKit/chromium/src/WebSecurityOrigin.cpp
+++ b/WebKit/chromium/src/WebSecurityOrigin.cpp
@@ -42,6 +42,16 @@ namespace WebKit {
class WebSecurityOriginPrivate : public SecurityOrigin {
};
+WebSecurityOrigin* WebSecurityOrigin::createFromDatabaseIdentifier(const WebString& databaseIdentifier)
+{
+ return new WebSecurityOrigin(SecurityOrigin::createFromDatabaseIdentifier(databaseIdentifier));
+}
+
+WebSecurityOrigin WebSecurityOrigin::createFromString(const WebString& origin)
+{
+ return WebSecurityOrigin(SecurityOrigin::createFromString(origin));
+}
+
void WebSecurityOrigin::reset()
{
assign(0);