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

Unified Diff: Source/core/editing/Editor.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/EditingStyle.cpp ('k') | Source/core/editing/EditorCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Editor.cpp
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
index e7a94da239887348ebb8aeb50caf3be92d9c37bf..41db7ddd8743f9356450a05b35713db2634b9993 100644
--- a/Source/core/editing/Editor.cpp
+++ b/Source/core/editing/Editor.cpp
@@ -420,15 +420,15 @@ void Editor::writeSelectionToPasteboard()
static PassRefPtr<Image> imageFromNode(const Node& node)
{
node.document().updateLayoutIgnorePendingStylesheets();
- LayoutObject* renderer = node.layoutObject();
- if (!renderer)
+ LayoutObject* layoutObject = node.layoutObject();
+ if (!layoutObject)
return nullptr;
- if (renderer->isCanvas())
+ if (layoutObject->isCanvas())
return toHTMLCanvasElement(node).copiedImage(FrontBuffer);
- if (renderer->isImage()) {
- LayoutImage* layoutImage = toLayoutImage(renderer);
+ if (layoutObject->isImage()) {
+ LayoutImage* layoutImage = toLayoutImage(layoutObject);
if (!layoutImage)
return nullptr;
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698