Chromium Code Reviews
DescriptionMove ScriptState::forWorld/ScriptState::forMainWorld (Part 1)
To move ScriptState to platform/bindings, ScriptState::forWorld/ScriptState::forMainWorld need to be moved out of ScriptState.h/cpp (they depend on Frame). This CL creates two new functions in V8Binding, and replaces uses of ScriptState::forWorld with toScriptState.
BUG=682322
Review-Url: https://codereview.chromium.org/2794023002
Cr-Commit-Position: refs/heads/master@{#461796}
Committed: https://chromium.googlesource.com/chromium/src/+/cd81626138da7e7021b81a1415a06088302e958f
Patch Set 1 #
Total comments: 3
Patch Set 2 : Move functions to V8Binding #Patch Set 3 : Some fixes #
Total comments: 4
Patch Set 4 : Code review changes #
Dependent Patchsets: Messages
Total messages: 25 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||