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

Unified Diff: sky/engine/core/editing/Caret.h

Issue 845093002: Delete an assortment of unneeded paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | sky/engine/core/editing/Caret.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/Caret.h
diff --git a/sky/engine/core/editing/Caret.h b/sky/engine/core/editing/Caret.h
index 68d5ef417a9cb0609b2b7df941bc04e30a2e84d5..7535a686869b5b2342c5cbc7a41088acf968047d 100644
--- a/sky/engine/core/editing/Caret.h
+++ b/sky/engine/core/editing/Caret.h
@@ -46,7 +46,6 @@ protected:
enum CaretVisibility { Visible, Hidden };
explicit CaretBase(CaretVisibility = Hidden);
- void invalidateCaretRect(Node*, bool caretRectChanged = false);
void clearCaretRect();
// Creating VisiblePosition causes synchronous layout so we should use the
// PositionWithAffinity version if possible.
@@ -67,7 +66,6 @@ protected:
protected:
static RenderBlock* caretRenderer(Node*);
- static void invalidateLocalCaretRect(Node*, const LayoutRect&);
private:
LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for painting the caret
« no previous file with comments | « no previous file | sky/engine/core/editing/Caret.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698