Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(986)

Unified Diff: Source/core/html/shadow/ProgressShadowElement.cpp

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/ProgressShadowElement.cpp
diff --git a/Source/core/html/shadow/ProgressShadowElement.cpp b/Source/core/html/shadow/ProgressShadowElement.cpp
index bbce3894b82f2b1a0295363a45fd61d27a514e50..deb745a15f7e28e375361bcec17fc25be3696402 100644
--- a/Source/core/html/shadow/ProgressShadowElement.cpp
+++ b/Source/core/html/shadow/ProgressShadowElement.cpp
@@ -40,7 +40,7 @@ namespace WebCore {
using namespace HTMLNames;
-ProgressShadowElement::ProgressShadowElement(Document* document)
+ProgressShadowElement::ProgressShadowElement(Document& document)
: HTMLDivElement(HTMLNames::divTag, document)
{
}
@@ -56,7 +56,7 @@ bool ProgressShadowElement::rendererIsNeeded(const NodeRenderingContext& context
return progressRenderer && !progressRenderer->style()->hasAppearance() && HTMLDivElement::rendererIsNeeded(context);
}
-ProgressInnerElement::ProgressInnerElement(Document* document)
+ProgressInnerElement::ProgressInnerElement(Document& document)
: ProgressShadowElement(document)
{
}
@@ -75,12 +75,12 @@ bool ProgressInnerElement::rendererIsNeeded(const NodeRenderingContext& context)
return progressRenderer && !progressRenderer->style()->hasAppearance() && HTMLDivElement::rendererIsNeeded(context);
}
-ProgressBarElement::ProgressBarElement(Document* document)
+ProgressBarElement::ProgressBarElement(Document& document)
: ProgressShadowElement(document)
{
}
-ProgressValueElement::ProgressValueElement(Document* document)
+ProgressValueElement::ProgressValueElement(Document& document)
: ProgressShadowElement(document)
{
}
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.h ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698