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/editing/Caret.h

Issue 419313002: Use tighter typing in editing: BreakBlockquoteCommand & Caret (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/editing/BreakBlockquoteCommand.cpp ('k') | Source/core/editing/Caret.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Caret.h
diff --git a/Source/core/editing/Caret.h b/Source/core/editing/Caret.h
index b0d3eb95a412521c043cdff37ce253f5fd1869d6..34febde4c89cd0703561c6358c5baa17fb418003 100644
--- a/Source/core/editing/Caret.h
+++ b/Source/core/editing/Caret.h
@@ -35,7 +35,7 @@ namespace blink {
class LocalFrame;
class GraphicsContext;
-class RenderObject;
+class RenderBlock;
class RenderView;
class CaretBase {
@@ -62,7 +62,7 @@ protected:
CaretVisibility caretVisibility() const { return m_caretVisibility; }
protected:
- static RenderObject* caretRenderer(Node*);
+ static RenderBlock* caretRenderer(Node*);
static void repaintCaretForLocalRect(Node*, const LayoutRect&);
private:
@@ -77,7 +77,7 @@ class DragCaretController FINAL : public NoBaseWillBeGarbageCollected<DragCaretC
public:
static PassOwnPtrWillBeRawPtr<DragCaretController> create();
- RenderObject* caretRenderer() const;
+ RenderBlock* caretRenderer() const;
void paintDragCaret(LocalFrame*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const;
bool isContentEditable() const { return m_position.rootEditableElement(); }
« no previous file with comments | « Source/core/editing/BreakBlockquoteCommand.cpp ('k') | Source/core/editing/Caret.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698