Status: Untriaged
Owner: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Labels: Type-Cleanup Pri-2 OS-All Area-Misc

New issue 5233 by [EMAIL PROTECTED]: Move DOM constructor cache out of  
V8Proxy.
http://code.google.com/p/chromium/issues/detail?id=5233

The lifetime of a DOM constructor is bounded by a Context, currently it is  
in V8Proxy. There are
situation that context is available, but V8Proxy is not accessible, so the  
code cannot access the
DOM constructor cache.

Current V8Proxy::InstantiateV8Object has following code:

  2419   v8::Local<v8::Function> function = desc->GetFunction();
  2473   V8Proxy* proxy = V8Proxy::retrieve();
  2474   if (proxy) {
  2475     // Constructor is configured.
  2476     function = proxy->GetConstructor(desc_type);
  2477   } else {
  2478     function = GetTemplate(desc_type)->GetFunction();

We'd like to get rid of proxy==NULL case.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to