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

Unified Diff: Source/core/editing/InputMethodController.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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: Source/core/editing/InputMethodController.cpp
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp
index a86bf3e9ea5687ede759022ff134986d6eebed26..4a8d1ff213be4a95fa33f366a3f6c0d925a15e0d 100644
--- a/Source/core/editing/InputMethodController.cpp
+++ b/Source/core/editing/InputMethodController.cpp
@@ -302,8 +302,8 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp
underline.startOffset += baseOffset;
underline.endOffset += baseOffset;
}
- if (baseNode->renderer())
- baseNode->renderer()->setShouldDoFullPaintInvalidation();
+ if (baseNode->layoutObject())
+ baseNode->layoutObject()->setShouldDoFullPaintInvalidation();
unsigned start = std::min(baseOffset + selectionStart, extentOffset);
unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset);
@@ -340,8 +340,8 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
m_customCompositionUnderlines[i].startOffset += m_compositionStart;
m_customCompositionUnderlines[i].endOffset += m_compositionStart;
}
- if (baseNode->renderer())
- baseNode->renderer()->setShouldDoFullPaintInvalidation();
+ if (baseNode->layoutObject())
+ baseNode->layoutObject()->setShouldDoFullPaintInvalidation();
return;
}

Powered by Google App Engine
This is Rietveld 408576698