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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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/HTMLSummaryElement.cpp
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp
index 5c2ce1b8d2955f771a40ea7933df5bf87f9e2dda..39388f8bdb1cae33dc5cf6a47137099a52dd7dcb 100644
--- a/Source/core/html/HTMLSummaryElement.cpp
+++ b/Source/core/html/HTMLSummaryElement.cpp
@@ -100,7 +100,7 @@ bool HTMLSummaryElement::supportsFocus() const
void HTMLSummaryElement::defaultEventHandler(Event* event)
{
- if (isMainSummary() && renderer()) {
+ if (isMainSummary() && layoutObject()) {
if (event->type() == EventTypeNames::DOMActivate && !isClickableControl(event->target()->toNode())) {
if (HTMLDetailsElement* details = detailsElement())
details->toggleOpen();
@@ -140,7 +140,7 @@ void HTMLSummaryElement::defaultEventHandler(Event* event)
bool HTMLSummaryElement::willRespondToMouseClickEvents()
{
- if (isMainSummary() && renderer())
+ if (isMainSummary() && layoutObject())
return true;
return HTMLElement::willRespondToMouseClickEvents();

Powered by Google App Engine
This is Rietveld 408576698