Beispiel #1
0
 // Don't create the context ID until it's actually needed.
 private int GetIDForContext(CefV8Context context)
 {
     if (_contextId == CefMessageRouter.ReservedId)
     {
         _contextId = _router.CreateIDForContext(context);
     }
     return(_contextId);
 }