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

Unified Diff: Source/core/dom/Text.h

Issue 414863002: Minimize RenderObject* casting to RenderText* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 5 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/dom/Range.cpp ('k') | Source/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.h
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
index 5acdaa3d8852e934383f9003fbdfbcdc070222a7..a2b06d0c98d54508ad5e1556a10875ed812432ee 100644
--- a/Source/core/dom/Text.h
+++ b/Source/core/dom/Text.h
@@ -37,6 +37,8 @@ public:
static PassRefPtrWillBeRawPtr<Text> create(Document&, const String&);
static PassRefPtrWillBeRawPtr<Text> createEditingText(Document&, const String&);
+ RenderText* renderer() const;
+
// mergeNextSiblingNodesIfPossible() merges next sibling nodes if possible
// then returns a node not merged.
PassRefPtrWillBeRawPtr<Node> mergeNextSiblingNodesIfPossible();
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698