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

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

Issue 2399663003: Reflow comments in //third_party/WebKit/Source/core/editing (Closed)
Patch Set: Created 4 years, 2 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/CaretBase.cpp
diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
index 03903242692e811d136779f0216809484cacf504..4149cf089ae2827ab58adff7dce7ae54ffe4f829 100644
--- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
+++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
@@ -63,7 +63,8 @@ LayoutBlock* CaretBase::caretLayoutObject(Node* node) {
if (!layoutObject)
return nullptr;
- // if caretNode is a block and caret is inside it then caret should be painted by that block
+ // if caretNode is a block and caret is inside it then caret should be painted
+ // by that block
bool paintedByBlock =
layoutObject->isLayoutBlock() && caretRendersInsideNode(node);
// TODO(yoichio): This function is called at least
@@ -150,7 +151,8 @@ void CaretBase::invalidateLocalCaretRect(Node* node, const LayoutRect& rect) {
LayoutRect inflatedRect = rect;
inflatedRect.inflate(LayoutUnit(1));
- // FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
+ // FIXME: We should not allow paint invalidation out of paint invalidation
+ // state. crbug.com/457415
DisablePaintInvalidationStateAsserts disabler;
m_visualRect =
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.h ('k') | third_party/WebKit/Source/core/editing/DOMSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698