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

Unified Diff: Source/core/html/forms/FileInputType.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/html/forms/FileInputType.cpp
diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp
index cdfbaf38a340830c7df6533871f667e3d79a0ec7..c8da17ba306c14bda576399a2bbe75e6cc9d7546 100644
--- a/Source/core/html/forms/FileInputType.cpp
+++ b/Source/core/html/forms/FileInputType.cpp
@@ -303,8 +303,8 @@ void FileInputType::setFiles(FileList* files)
input->notifyFormStateChanged();
input->setNeedsValidityCheck();
- if (input->renderer())
- input->renderer()->setShouldDoFullPaintInvalidation();
+ if (input->layoutObject())
+ input->layoutObject()->setShouldDoFullPaintInvalidation();
if (filesChanged) {
// This call may cause destruction of this instance.

Powered by Google App Engine
This is Rietveld 408576698