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

Unified Diff: Source/core/css/StyleResolver.cpp

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap 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
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/dom/CheckedRadioButtons.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/dom/CheckedRadioButtons.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698