2010-09-15 Jessie Berlin <jberlin@apple.com>
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2010 01:50:37 +0000 (01:50 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2010 01:50:37 +0000 (01:50 +0000)
commit81056a5aa79f23e3d81a9b1b1afcaf1c2e22ad03
treedf3e2da4131dff0d16a9f8bb91af3bafaa413e93
parentb17a21adeabcc6b8aaf1558492a8113f6c2b92f3
2010-09-15  Jessie Berlin  <jberlin@apple.com>

        Reviewed by Jon Honeycutt.

        We should save messages that can't be sent when postMessageToInjectedBundle is called and
        send them in ensureWebProcess.
        https://bugs.webkit.org/show_bug.cgi?id=45822

        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::ensureWebProcess):
        Post any messages to the Injected Bundle that couldn't be sent earlier because the
        WebProcess hadn't been initialized yet.
        (WebKit::WebContext::postMessageToInjectedBundle):
        * UIProcess/WebContext.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/UIProcess/WebContext.cpp
WebKit2/UIProcess/WebContext.h