| 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 =
|
|
|