| Summary: | Debugger's breakpoint list should not be a Vector | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bunhere, cdumez, commit-queue, fpizlo, ggaren, gyuyoung.kim, mhahnenberg, mmirman, msaboff, oliver, sergio | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Mark Lam
2014-07-01 14:50:25 PDT
Created attachment 234208 [details]
the patch
Comment on attachment 234208 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=234208&action=review r=me > Source/JavaScriptCore/debugger/Breakpoint.h:56 > + Breakpoint(Breakpoint& other) Should be const&. The compiler was complaining about:
Source/JavaScriptCore/debugger/Breakpoint.h:88:27: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses]
while (breakpoint = removeHead())
~~~~~~~~~~~^~~~~~~~~~~~~~
Will add the parens.
Created attachment 234209 [details]
updated patch to make the EWS bots happy + Geoff's suggested fix.
Thanks. Patch with fixes land in r170677: <http://trac.webkit.org/r170677>. |