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

Unified Diff: Source/core/html/forms/ImageInputType.cpp

Issue 1115353002: Update renderer to layoutObject in core/html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/html/forms/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index 614e7f684d956fb686295f78f1114b7fc785be2f..6af32a1052d2242ffd1474d8f8fb0f581bf63f1e 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -161,11 +161,11 @@ void ImageInputType::startResourceLoading()
HTMLImageLoader& imageLoader = element().ensureImageLoader();
imageLoader.updateFromElement();
- LayoutObject* renderer = element().layoutObject();
- if (!renderer || !renderer->isLayoutImage())
+ LayoutObject* layoutObject = element().layoutObject();
+ if (!layoutObject || !layoutObject->isLayoutImage())
return;
- LayoutImageResource* imageResource = toLayoutImage(renderer)->imageResource();
+ LayoutImageResource* imageResource = toLayoutImage(layoutObject)->imageResource();
imageResource->setImageResource(imageLoader.image());
}
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ('k') | Source/core/html/forms/InputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698