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

Unified Diff: Source/core/rendering/RenderObject.h

Issue 625073002: Merge RenderWidget into single subclass, RenderPart (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 years, 2 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/rendering/RenderMeter.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index 9eceb89f61840f4e1ec6bb68c26c01f8385a43f3..36cc7556aa2aa7615e4085f8666be33cd2b6b6b9 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -403,7 +403,6 @@ public:
virtual bool isTextControl() const { return false; }
virtual bool isTextField() const { return false; }
virtual bool isVideo() const { return false; }
- virtual bool isWidget() const { return false; }
bool isDocumentElement() const { return document().documentElement() == m_node; }
// isBody is called from RenderBox::styleWillChange and is thus quite hot.
@@ -634,7 +633,7 @@ public:
return isPseudoElement() ? 0 : node();
}
- // FIXME: Why does RenderWidget need this?
+ // FIXME: Why does RenderPart need this? crbug.com/422457
void clearNode() { m_node = nullptr; }
// Returns the styled node that caused the generation of this renderer.
« no previous file with comments | « Source/core/rendering/RenderMeter.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698