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

Unified Diff: Source/core/rendering/RenderTheme.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/rendering/RenderTheme.h ('k') | Source/core/scripts/make_names.pl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTheme.cpp
diff --git a/Source/core/rendering/RenderTheme.cpp b/Source/core/rendering/RenderTheme.cpp
index d160a0fe79648dc653e0a048f7aca630d29085fb..6a72ea1dc0be62a5f78a356658d5917f0adbcdbc 100644
--- a/Source/core/rendering/RenderTheme.cpp
+++ b/Source/core/rendering/RenderTheme.cpp
@@ -724,7 +724,7 @@ bool RenderTheme::isChecked(const RenderObject* o) const
if (!o->node())
return false;
- HTMLInputElement* inputElement = o->node()->toInputElement();
+ Handle<HTMLInputElement> inputElement = o->node()->toInputElement();
if (!inputElement)
return false;
@@ -736,7 +736,7 @@ bool RenderTheme::isIndeterminate(const RenderObject* o) const
if (!o->node())
return false;
- HTMLInputElement* inputElement = o->node()->toInputElement();
+ Handle<HTMLInputElement> inputElement = o->node()->toInputElement();
if (!inputElement)
return false;
@@ -908,7 +908,7 @@ void RenderTheme::paintSliderTicks(RenderObject* o, const PaintInfo& paintInfo,
if (!node)
return;
- HTMLInputElement* input = node->toInputElement();
+ Handle<HTMLInputElement> input = node->toInputElement();
if (!input)
return;
@@ -999,7 +999,7 @@ void RenderTheme::adjustProgressBarStyle(StyleResolver*, RenderStyle*, Element*)
{
}
-bool RenderTheme::shouldHaveSpinButton(HTMLInputElement* inputElement) const
+bool RenderTheme::shouldHaveSpinButton(Handle<HTMLInputElement> inputElement) const
{
return inputElement->isSteppable() && !inputElement->isRangeControl();
}
« no previous file with comments | « Source/core/rendering/RenderTheme.h ('k') | Source/core/scripts/make_names.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698