commit | da898c36480ec22dd6519eea16661c6184feec92 | [log] [tgz] |
---|---|---|
author | weinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Mon Nov 11 04:02:09 2013 +0000 |
committer | weinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Mon Nov 11 04:02:09 2013 +0000 |
tree | 10317e5ddd7325dbceea0feb3e20364291715a75 | |
parent | 3381962229443b81ac5f4ed472afb8c74ab5c46b [diff] [blame] |
Make childShouldCreateRenderer() take a Node reference https://bugs.webkit.org/show_bug.cgi?id=124132 Reviewed by Andreas Kling. The Node passed to childShouldCreateRenderer() is never null. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/html/HTMLProgressElement.cpp b/Source/WebCore/html/HTMLProgressElement.cpp index ff1bf6e..45f62b1 100644 --- a/Source/WebCore/html/HTMLProgressElement.cpp +++ b/Source/WebCore/html/HTMLProgressElement.cpp
@@ -66,7 +66,7 @@ return new RenderProgress(*this, std::move(style)); } -bool HTMLProgressElement::childShouldCreateRenderer(const Node* child) const +bool HTMLProgressElement::childShouldCreateRenderer(const Node& child) const { return hasShadowRootParent(child) && HTMLElement::childShouldCreateRenderer(child); }