2008-12-09  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        Add ScriptController::updateSecurityOrigin to notify the bindings
        that a document's securityOrigin has been updated.  This is used by
        V8 to update its security context.

        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::updateSecurityOrigin):
        * bindings/js/ScriptController.h:
        * dom/Document.cpp:
        (WebCore::Document::setDomain):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed