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

Unified Diff: Source/core/html/HTMLSummaryElement.cpp

Issue 23819007: Have Node::document() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 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/HTMLStyleElement.cpp ('k') | Source/core/html/HTMLTableCellElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLSummaryElement.cpp
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp
index 635dd550a590ab2d684f3621cfa1f8ff26bb5453..e41599d9c1544d9c2e629328d3b6808c419ddb49 100644
--- a/Source/core/html/HTMLSummaryElement.cpp
+++ b/Source/core/html/HTMLSummaryElement.cpp
@@ -55,8 +55,8 @@ RenderObject* HTMLSummaryElement::createRenderer(RenderStyle*)
void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot* root)
{
- root->appendChild(DetailsMarkerControl::create(document()));
- root->appendChild(HTMLContentElement::create(document()));
+ root->appendChild(DetailsMarkerControl::create(&document()));
+ root->appendChild(HTMLContentElement::create(&document()));
}
HTMLDetailsElement* HTMLSummaryElement::detailsElement() const
« no previous file with comments | « Source/core/html/HTMLStyleElement.cpp ('k') | Source/core/html/HTMLTableCellElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698