Skip to content
  • sky@chromium.org's avatar
    Refactors parts of gin: · 1771610d
    sky@chromium.org authored
    . Runner no longer extends ContextHolder. It will still have a
      ContextHolder, but not own it. This enables a couple of
      things:
      . Runner no longer need own a v8::Context.
      . Runner can be lazily created after the ContextHolder.
    . Runner becomes a (mostly) pure virtual interface. This enables an
      implementation to execute through blink rather than v8 directly.
    . What was Runner is now DefaultRunner (and
      DefaultRunnerDelegate). I'm not a fan of these names, if you have
      better ideas let me know. Maybe DirectRunner?
    
    BUG=none
    TEST=none
    R=abarth@chromium.org
    
    Review URL: https://codereview.chromium.org/179803007
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253732 0039d316-1c4b-4281-b951-d872f2087c98
    1771610d