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

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

Issue 1122723005: Rename renderer to layoutObject in core/editing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/FrameSelection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
index 0a873db1837e5a080f3ad6a17ca0648cdc62c80d..414188a69d97e55c069ed6ce1892ddc62b1da7fb 100644
--- a/Source/core/editing/EditorCommand.cpp
+++ b/Source/core/editing/EditorCommand.cpp
@@ -267,10 +267,10 @@ static unsigned verticalScrollDistance(LocalFrame& frame)
Element* focusedElement = frame.document()->focusedElement();
if (!focusedElement)
return 0;
- LayoutObject* renderer = focusedElement->layoutObject();
- if (!renderer || !renderer->isBox())
+ LayoutObject* layoutObject = focusedElement->layoutObject();
+ if (!layoutObject || !layoutObject->isBox())
return 0;
- LayoutBox& layoutBox = toLayoutBox(*renderer);
+ LayoutBox& layoutBox = toLayoutBox(*layoutObject);
const ComputedStyle* style = layoutBox.style();
if (!style)
return 0;
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698