Bug 108443

Summary: [V8] Clean up Dictionary::get() by removing redundant FindInstanceInPrototypeChain()
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: WebCore JavaScriptAssignee: Kentaro Hara <haraken>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, japhet, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Kentaro Hara
Reported 2013-01-31 01:16:29 PST
In Dictionary::get(), wrapper->FindInstanceInPrototypeChain(V8XXX::GetTemplate()) is unnecessary for DOM wrappers other than DOMWindow. For wrappers other than DOMWindow, we can simply use V8XXX::HasInstance(wrapper). I'll clean up the code more by using template in a follow-up patch.
Attachments
Patch (8.06 KB, patch)
2013-01-31 01:17 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2013-01-31 01:17:54 PST
WebKit Review Bot
Comment 2 2013-01-31 17:13:56 PST
Comment on attachment 185713 [details] Patch Clearing flags on attachment: 185713 Committed r141509: <http://trac.webkit.org/changeset/141509>
WebKit Review Bot
Comment 3 2013-01-31 17:13:59 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.