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

Unified Diff: Source/core/editing/EditingStyle.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/EditingBehavior.cpp ('k') | Source/core/editing/Editor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingStyle.cpp
diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
index ee1c1377074f0a23f16914cba49b37503f7f6701..053be543ff09367a2ec05f1721bdd8da099aa9ba 100644
--- a/Source/core/editing/EditingStyle.cpp
+++ b/Source/core/editing/EditingStyle.cpp
@@ -1234,14 +1234,14 @@ void EditingStyle::removePropertiesInElementDefaultStyle(Element* element)
void EditingStyle::addAbsolutePositioningFromElement(const Element& element)
{
LayoutRect rect = element.boundingBox();
- LayoutObject* renderer = element.layoutObject();
+ LayoutObject* layoutObject = element.layoutObject();
LayoutUnit x = rect.x();
LayoutUnit y = rect.y();
LayoutUnit width = rect.width();
LayoutUnit height = rect.height();
- if (renderer && renderer->isBox()) {
- LayoutBox* layoutBox = toLayoutBox(renderer);
+ if (layoutObject && layoutObject->isBox()) {
+ LayoutBox* layoutBox = toLayoutBox(layoutObject);
x -= layoutBox->marginLeft();
y -= layoutBox->marginTop();
« no previous file with comments | « Source/core/editing/EditingBehavior.cpp ('k') | Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698