[Webkit-unassigned] [Bug 27309] New: Local variable in instantiateV8Object shadows function parameter
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 15 12:00:44 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27309
Summary: Local variable in instantiateV8Object shadows function
parameter
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jhawkins at google.com
CC: abarth at webkit.org
v8::Local<v8::Object> V8DOMWrapper::instantiateV8Object(V8Proxy* proxy, ...
...
if (!proxy)
V8Proxy* proxy = V8Proxy::retrieve();
proxy is declared as a local variable in the if clause, which shadows the
function parameter of the same name. This is a typo. I will attach a patch
which fixes this issue.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list