Make ScriptCustomeElementDefinition class to hold ScriptState
This patch introduces |m_scriptState| member variable to |ScriptCustomeElementDefinition| class to hold |ScriptState| pointer, to return |ScriptValue| for JavaScript's constructor, prototype, callbacks, etc, on the context where JavaScript values created. This patch is a preparation of crrev.com/1994093002, introduce |CustomElementRegistry#get()| method. BUG=594918 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2030443003 Cr-Commit-Position: refs/heads/master@{#397069}
Showing
Please register or sign in to comment