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

Unified Diff: Source/core/html/shadow/DetailsMarkerControl.h

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
Index: Source/core/html/shadow/DetailsMarkerControl.h
diff --git a/Source/core/html/shadow/DetailsMarkerControl.h b/Source/core/html/shadow/DetailsMarkerControl.h
index 1b1bf04fe094b5572cee23029d286bda97ff0351..bba5065ef63c18e894fd291f6c63e903935b9739 100644
--- a/Source/core/html/shadow/DetailsMarkerControl.h
+++ b/Source/core/html/shadow/DetailsMarkerControl.h
@@ -40,8 +40,8 @@ class HTMLSummaryElement;
class DetailsMarkerControl FINAL : public HTMLDivElement {
public:
- DetailsMarkerControl(Document*);
- static PassRefPtr<DetailsMarkerControl> create(Document*);
+ DetailsMarkerControl(Document&);
+ static PassRefPtr<DetailsMarkerControl> create(Document&);
private:
virtual RenderObject* createRenderer(RenderStyle*);
@@ -50,7 +50,7 @@ private:
HTMLSummaryElement* summaryElement();
};
-inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document* document)
+inline PassRefPtr<DetailsMarkerControl> DetailsMarkerControl::create(Document& document)
{
RefPtr<DetailsMarkerControl> element = adoptRef(new DetailsMarkerControl(document));
element->setPart(AtomicString("-webkit-details-marker", AtomicString::ConstructFromLiteral));
« no previous file with comments | « Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp ('k') | Source/core/html/shadow/DetailsMarkerControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698