Index: Source/core/css/StyleResolver.cpp |
diff --git a/Source/core/css/StyleResolver.cpp b/Source/core/css/StyleResolver.cpp |
index a360ef0514091e01cb3585741fd8d2124c1ef5ed..6b497cd5cc15db3331d21bad26106bff50c4f1a0 100644 |
--- a/Source/core/css/StyleResolver.cpp |
+++ b/Source/core/css/StyleResolver.cpp |
@@ -718,8 +718,8 @@ bool StyleResolver::styleSharingCandidateMatchesRuleSet(RuleSet* ruleSet) |
bool StyleResolver::canShareStyleWithControl(StyledElement* element) const |
{ |
const State& state = m_state; |
- HTMLInputElement* thisInputElement = element->toInputElement(); |
- HTMLInputElement* otherInputElement = state.element()->toInputElement(); |
+ Handle<HTMLInputElement> thisInputElement = element->toInputElement(); |
+ Handle<HTMLInputElement> otherInputElement = state.element()->toInputElement(); |
if (!thisInputElement || !otherInputElement) |
return false; |