diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 06:21:09 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 06:21:09 +0000 |
commit | 91733b650d1e31b84a50860b3e5780d97b11d86d (patch) | |
tree | ba9408fd798e6e7ea3ad13219e6feea2689118cb /webkit/glue/webframeloaderclient_impl.cc | |
parent | 90e11737beffdf76a1cab1868ec8456c5580d2fe (diff) | |
download | chromium_src-91733b650d1e31b84a50860b3e5780d97b11d86d.zip chromium_src-91733b650d1e31b84a50860b3e5780d97b11d86d.tar.gz chromium_src-91733b650d1e31b84a50860b3e5780d97b11d86d.tar.bz2 |
Introduce WebKit::WebSecurityOrigin as a wrapper around
WebCore::SecurityOrigin.
This provides us a little wiggle room in the future in
case we ever want to provide more details about a
security origin beyond just its stringified value.
This was done on recommendation from Adam Barth.
R=jorlow
BUG=21967
TEST=none
Review URL: http://codereview.chromium.org/211013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.cc')
-rw-r--r-- | webkit/glue/webframeloaderclient_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.cc b/webkit/glue/webframeloaderclient_impl.cc index 92a4935..b2c91b8 100644 --- a/webkit/glue/webframeloaderclient_impl.cc +++ b/webkit/glue/webframeloaderclient_impl.cc @@ -35,6 +35,7 @@ #include "webkit/api/public/WebFrameClient.h" #include "webkit/api/public/WebPlugin.h" #include "webkit/api/public/WebPluginParams.h" +#include "webkit/api/public/WebSecurityOrigin.h" #include "webkit/api/public/WebURL.h" #include "webkit/api/public/WebURLError.h" #include "webkit/api/public/WebVector.h" @@ -987,7 +988,7 @@ void WebFrameLoaderClient::didDisplayInsecureContent() { void WebFrameLoaderClient::didRunInsecureContent(SecurityOrigin* origin) { if (webframe_->client()) { webframe_->client()->didRunInsecureContent(webframe_, - webkit_glue::StringToWebString(origin->toString())); + webkit_glue::SecurityOriginToWebSecurityOrigin(origin)); } } |