| Summary: | Use is<HTML*Element>() instead of isHTML*Element() - Part 2 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | benjamin, commit-queue, darin, kling, koivisto, rniwa | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Bug Depends on: | 137015 | ||||||||||||||
| Bug Blocks: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Chris Dumez
2014-09-24 20:31:41 PDT
Created attachment 238640 [details]
Patch
Comment on attachment 238640 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238640&action=review > Source/WebCore/css/CSSStyleSheet.cpp:39 > +#include "SVGStyleElement.H" SVGStyleElement.H -> SVGStyleElement.h Created attachment 238662 [details]
Patch
Created attachment 238663 [details]
Patch
(In reply to comment #2) > (From update of attachment 238640 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=238640&action=review > > > Source/WebCore/css/CSSStyleSheet.cpp:39 > > +#include "SVGStyleElement.H" > > SVGStyleElement.H -> SVGStyleElement.h Thanks, fixed. Comment on attachment 238663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238663&action=review > Source/WebCore/css/CSSDefaultStyleSheets.cpp:65 > static inline bool elementCanUseSimpleDefaultStyle(Element* e) The argument should be a reference. "e" should be element. > Source/WebCore/html/HTMLNameCollection.cpp:54 > + return is<HTMLImageElement>(element) || is<HTMLFormElement>(element) || element.hasTagName(appletTag) I guess element.hasTagName(appletTag) is one of the special case? Comment on attachment 238663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238663&action=review >> Source/WebCore/html/HTMLNameCollection.cpp:54 >> + return is<HTMLImageElement>(element) || is<HTMLFormElement>(element) || element.hasTagName(appletTag) > > I guess element.hasTagName(appletTag) is one of the special case? No, I missed it :) Created attachment 238677 [details]
Patch
Created attachment 238678 [details]
Patch
Comment on attachment 238678 [details] Patch Clearing flags on attachment: 238678 Committed r173980: <http://trac.webkit.org/changeset/173980> All reviewed patches have been landed. Closing bug. |