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

Unified Diff: sky/engine/core/editing/Editor.cpp

Issue 840403003: First pass at deleting 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 | « sky/engine/core/dom/DocumentMarkerController.cpp ('k') | sky/engine/core/editing/SpellChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/Editor.cpp
diff --git a/sky/engine/core/editing/Editor.cpp b/sky/engine/core/editing/Editor.cpp
index 04e759944d0d437a47116f10e12ea6a748b38d10..8046412e5d5abff8d6b3bf86bbc6cbb6d04e3678 100644
--- a/sky/engine/core/editing/Editor.cpp
+++ b/sky/engine/core/editing/Editor.cpp
@@ -802,11 +802,7 @@ PassRefPtr<Range> Editor::rangeOfString(const String& target, Range* referenceRa
void Editor::setMarkedTextMatchesAreHighlighted(bool flag)
{
- if (flag == m_areMarkedTextMatchesHighlighted)
- return;
-
m_areMarkedTextMatchesHighlighted = flag;
- m_frame.document()->markers().repaintMarkers(DocumentMarker::TextMatch);
}
void Editor::respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions options)
« no previous file with comments | « sky/engine/core/dom/DocumentMarkerController.cpp ('k') | sky/engine/core/editing/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698