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

Unified Diff: Source/core/rendering/HitTestResult.cpp

Issue 19509003: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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/rendering/HitTestResult.cpp
diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp
index 62fcfa4b2c70529a5bde33ca7e5fb34a911f0175..223b29caccc90e4f5d29749768ae8c9e7fe09413 100644
--- a/Source/core/rendering/HitTestResult.cpp
+++ b/Source/core/rendering/HitTestResult.cpp
@@ -274,7 +274,7 @@ String HitTestResult::altDisplayString() const
}
if (m_innerNonSharedNode->hasTagName(inputTag)) {
- HTMLInputElement* input = static_cast<HTMLInputElement*>(m_innerNonSharedNode.get());
+ Handle<HTMLInputElement> input(static_cast<HTMLInputElement*>(m_innerNonSharedNode.get()));
return displayString(input->alt(), m_innerNonSharedNode.get());
}

Powered by Google App Engine
This is Rietveld 408576698