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

Unified Diff: third_party/WebKit/Source/core/editing/FrameCaret.cpp

Issue 2286843002: Rename DisplayItem::Type enum constants to Chromium style. (Closed)
Patch Set: Rebasing... Created 4 years, 4 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
Index: third_party/WebKit/Source/core/editing/FrameCaret.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.cpp b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
index 4b411d62ce587d5de9aee395db778f30d5145e7c..53eddb304f09ba4922444c7d3433650eb54f6d77 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
@@ -210,7 +210,7 @@ void FrameCaret::paintCaret(GraphicsContext& context, const LayoutPoint& paintOf
return;
updateCaretRect(caretPosition());
- CaretBase::paintCaret(caretPosition().position().anchorNode(), context, paintOffset, DisplayItem::Caret);
+ CaretBase::paintCaret(caretPosition().position().anchorNode(), context, paintOffset, DisplayItem::kCaret);
}
void FrameCaret::dataWillChange(const CharacterData& node)

Powered by Google App Engine
This is Rietveld 408576698