| Summary: | Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | Layout and Rendering | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | benjamin, commit-queue, darin, kling, mihnea | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 137424 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2014-10-14 18:56:24 PDT
Created attachment 239838 [details]
Patch
Comment on attachment 239838 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239838&action=review > Source/WebCore/page/EventHandler.cpp:3696 > + if (auto* renderer = element->renderer()) { > + if (is<RenderTextControlSingleLine>(renderer)) Should either use *renderer here, or eliminate the if that checks renderer for null. Created attachment 239875 [details]
Patch
Comment on attachment 239875 [details] Patch Clearing flags on attachment: 239875 Committed r174732: <http://trac.webkit.org/changeset/174732> All reviewed patches have been landed. Closing bug. |