commit | b456ae94c7e484d0ad50584333914c1e1b5f462f | [log] [tgz] |
---|---|---|
author | glebl <glebl@chromium.org> | Tue Aug 02 17:50:26 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 02 17:53:15 2016 |
tree | 08d7147222fe7d14a540693c70e69bfb098bb995 | |
parent | ff04ca96a5fc31ad11fc982a1fe14677c2c6ebe9 [diff] |
Refactor Worklet class to use ScriptResource. Following the recommendations discussed in http://crrev.com/2146633002, this patch switches Worklet.cpp to use ScriptResource to load a worklet script, so it can follow the code path defined in FrameFetchContext::canRequest for CSP checks. BUG=567358 Review-Url: https://codereview.chromium.org/2178223002 Cr-Commit-Position: refs/heads/master@{#409232}