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

Issue 19509003: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap (Closed)

Created:
7 years, 5 months ago by haraken
Modified:
7 years, 5 months ago
CC:
blink-reviews, adamk+oilpan_chromium.org, Mads Ager (chromium), abarth-chromium
Visibility:
Public.

Description

[oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap R=vegorov@google.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154555

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 28
Unified diffs Side-by-side diffs Delta from patch set Stats (+727 lines, -595 lines) Patch
M Source/WebKit/chromium/public/WebFormControlElement.h View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/public/WebInputElement.h View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/public/WebSelectElement.h View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/src/ChromeClientImpl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/src/ChromeClientImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/src/ContextMenuClientImpl.cpp View 1 chunk +1 line, -1 line 2 comments Download
M Source/WebKit/chromium/src/EditorClientImpl.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/TextFieldDecoratorImpl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/TextFieldDecoratorImpl.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/WebFormControlElement.cpp View 2 chunks +7 lines, -6 lines 2 comments Download
M Source/WebKit/chromium/src/WebFormElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/src/WebInputElement.cpp View 2 chunks +7 lines, -6 lines 2 comments Download
M Source/WebKit/chromium/src/WebPasswordFormData.cpp View 2 chunks +11 lines, -7 lines 0 comments Download
M Source/WebKit/chromium/src/WebPasswordFormUtils.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebPasswordFormUtils.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/WebKit/chromium/src/WebSearchableFormData.cpp View 5 chunks +14 lines, -14 lines 2 comments Download
M Source/WebKit/chromium/src/WebSelectElement.cpp View 2 chunks +6 lines, -5 lines 0 comments Download
M Source/WebKit/chromium/src/WebViewImpl.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/bindings/scripts/CodeGeneratorV8.pm View 1 2 4 chunks +10 lines, -4 lines 0 comments Download
M Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/accessibility/AXObjectCache.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AccessibilityListBoxOption.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AccessibilityListBoxOption.cpp View 7 chunks +10 lines, -10 lines 0 comments Download
M Source/core/accessibility/AccessibilityNodeObject.cpp View 19 chunks +20 lines, -20 lines 0 comments Download
M Source/core/accessibility/AccessibilityRenderObject.cpp View 11 chunks +12 lines, -12 lines 0 comments Download
M Source/core/accessibility/AccessibilitySlider.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AccessibilitySlider.cpp View 2 chunks +3 lines, -3 lines 3 comments Download
M Source/core/css/SelectorChecker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/StyleResolver.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/CheckedRadioButtons.h View 2 chunks +7 lines, -6 lines 0 comments Download
M Source/core/dom/CheckedRadioButtons.cpp View 1 2 11 chunks +32 lines, -31 lines 0 comments Download
M Source/core/dom/Node.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/DeleteSelectionCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/Editor.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseButtonInputType.h View 1 chunk +1 line, -1 line 2 comments Download
M Source/core/html/BaseButtonInputType.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/html/BaseCheckableInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseChooserOnlyDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseClickableWithKeyInputType.h View 1 chunk +5 lines, -4 lines 0 comments Download
M Source/core/html/BaseClickableWithKeyInputType.cpp View 3 chunks +8 lines, -3 lines 0 comments Download
M Source/core/html/BaseDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseMultipleFieldsDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/BaseTextInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ButtonInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/ButtonInputType.cpp View 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/html/CheckboxInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/CheckboxInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ColorInputType.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/ColorInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/DateInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/DateInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/DateTimeInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/DateTimeInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/DateTimeLocalInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/DateTimeLocalInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/EmailInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/EmailInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/FileInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/FileInputType.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/FormController.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M Source/core/html/FormController.cpp View 9 chunks +16 lines, -16 lines 0 comments Download
M Source/core/html/HTMLButtonElement.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLButtonElement.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/html/HTMLElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFieldSetElement.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLFieldSetElement.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFormControlElement.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFormControlElement.cpp View 7 chunks +14 lines, -9 lines 0 comments Download
M Source/core/html/HTMLFormControlElementWithState.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLFormControlElementWithState.cpp View 4 chunks +9 lines, -4 lines 2 comments Download
M Source/core/html/HTMLFormElement.h View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/html/HTMLFormElement.cpp View 10 chunks +21 lines, -21 lines 2 comments Download
M Source/core/html/HTMLInputElement.h View 1 2 4 chunks +5 lines, -4 lines 2 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 2 14 chunks +26 lines, -25 lines 0 comments Download
M Source/core/html/HTMLKeygenElement.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/html/HTMLKeygenElement.cpp View 6 chunks +19 lines, -9 lines 0 comments Download
M Source/core/html/HTMLLegendElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLLegendElement.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLOptGroupElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOptGroupElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLOptionElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOptionElement.cpp View 10 chunks +11 lines, -11 lines 0 comments Download
M Source/core/html/HTMLOptionsCollection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOutputElement.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLOutputElement.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/html/HTMLSelectElement.h View 3 chunks +7 lines, -5 lines 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/html/HTMLTextAreaElement.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLTextAreaElement.cpp View 2 chunks +8 lines, -3 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.h View 2 chunks +5 lines, -3 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.cpp View 3 chunks +8 lines, -3 lines 0 comments Download
M Source/core/html/HiddenInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HiddenInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ImageInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/ImageInputType.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/InputType.h View 1 2 4 chunks +7 lines, -8 lines 1 comment Download
M Source/core/html/InputType.cpp View 5 chunks +16 lines, -6 lines 0 comments Download
M Source/core/html/MonthInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/MonthInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/NumberInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/NumberInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/PasswordInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/PasswordInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/RadioInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/RadioInputType.cpp View 5 chunks +6 lines, -6 lines 2 comments Download
M Source/core/html/RadioNodeList.cpp View 4 chunks +6 lines, -6 lines 4 comments Download
M Source/core/html/RangeInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/RangeInputType.cpp View 6 chunks +9 lines, -9 lines 0 comments Download
M Source/core/html/ResetInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/ResetInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/SearchInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/SearchInputType.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/html/SubmitInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/SubmitInputType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/TelephoneInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/TelephoneInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/TextFieldInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/TextFieldInputType.cpp View 6 chunks +7 lines, -7 lines 0 comments Download
M Source/core/html/TextInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/TextInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/TimeInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/TimeInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/URLInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/URLInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/ValidationMessage.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/html/ValidationMessage.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/WeekInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/WeekInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/PickerIndicatorElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SliderThumbElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/SliderThumbElement.cpp View 11 chunks +13 lines, -13 lines 0 comments Download
M Source/core/html/shadow/TextControlInnerElements.cpp View 8 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/shadow/TextFieldDecorationElement.h View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/shadow/TextFieldDecorationElement.cpp View 7 chunks +9 lines, -9 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FormSubmission.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/page/Chrome.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/ChromeClient.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/page/DragController.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/page/DragController.cpp View 5 chunks +8 lines, -8 lines 2 comments Download
M Source/core/rendering/HitTestResult.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderButton.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFileUploadControl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderFileUploadControl.cpp View 7 chunks +14 lines, -14 lines 0 comments Download
M Source/core/rendering/RenderListBox.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderListBox.cpp View 7 chunks +7 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderMenuList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 7 chunks +7 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderSearchField.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderSlider.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderSlider.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTextControl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTextControl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTextControlSingleLine.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTextControlSingleLine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTheme.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTheme.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/scripts/make_names.pl View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.cpp View 8 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
haraken
Several tests are still crashing. Not yet for review.
7 years, 5 months ago (2013-07-17 11:01:51 UTC) #1
haraken
PTAL. Now only one test is failing, which I will fix tomorrow: accessibility/accessibility-node-memory-management.html https://codereview.chromium.org/19509003/diff/5001/Source/core/accessibility/AccessibilitySlider.cpp File ...
7 years, 5 months ago (2013-07-17 14:10:23 UTC) #2
Vyacheslav Egorov (Google)
LGTM this change is immense and contains mostly mechanical changes so I am afraid that ...
7 years, 5 months ago (2013-07-18 16:50:08 UTC) #3
haraken
Committed patchset #3 manually as r154555.
7 years, 5 months ago (2013-07-19 02:56:31 UTC) #4
haraken
7 years, 5 months ago (2013-07-19 02:57:09 UTC) #5
Message was sent while issue was closed.
Thanks for reviewing, Slava!

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
File Source/WebKit/chromium/src/ContextMenuClientImpl.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
Source/WebKit/chromium/src/ContextMenuClientImpl.cpp:341:
Handle<HTMLInputElement>
selectedElement(static_cast<HTMLInputElement*>(r.innerNonSharedNode()));

Done. I fixed all places.

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
File Source/WebKit/chromium/src/WebFormControlElement.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
Source/WebKit/chromium/src/WebFormControlElement.cpp:97:
WebFormControlElement::operator Handle<HTMLFormControlElement>() const

I replaced the operator overloading with a normal method getValue().

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
File Source/WebKit/chromium/src/WebInputElement.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
Source/WebKit/chromium/src/WebInputElement.cpp:273: WebInputElement::operator
Handle<HTMLInputElement>() const
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> Consider instead:
> 
> WebInputElement::operator Result<HTMLInputElement>() const
> {
>   return adoptRawResult(static_cast<HTMLInputElement*>(m_private.get()));
> }

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
File Source/WebKit/chromium/src/WebSearchableFormData.cpp (left):

https://codereview.chromium.org/19509003/diff/5001/Source/WebKit/chromium/src...
Source/WebKit/chromium/src/WebSearchableFormData.cpp:243: HTMLInputElement*
inputElement = selectedInputElement.operator
PassRefPtr<HTMLInputElement>().get();
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> Why there is an operator to begin with if we are using it in the non operator
> syntax?

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/accessibility/...
File Source/core/accessibility/AccessibilitySlider.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/accessibility/...
Source/core/accessibility/AccessibilitySlider.cpp:143: return
Handle<HTMLInputElement>(static_cast<HTMLInputElement*>(m_renderer->node()));
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> On 2013/07/17 14:10:23, haraken wrote:
> > 
> > I didn't add a FIXME for Handle<X>(static_cast<X*>(foo)) patterns, because
we
> > will be able to easily get rid of these unnecessary Handle<X>()'s when we
move
> > 'foo' to the heap.
> 
> I would use adoptRawResult instead of Handle<>() for such occasions though.
> 
> It is an intended use of such function AFAIK

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/BaseButto...
File Source/core/html/BaseButtonInputType.h (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/BaseButto...
Source/core/html/BaseButtonInputType.h:41: BaseButtonInputType(const
Handle<HTMLInputElement>&);

If I use Handle<HTMLInputElement>, it doesn't compile due to circular #include
dependency.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/HTMLFormC...
File Source/core/html/HTMLFormControlElementWithState.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/HTMLFormC...
Source/core/html/HTMLFormControlElementWithState.cpp:50:
oldDocument->formController()->unregisterFormElementWithState(Handle<HTMLFormControlElementWithState>(this));

Agreed. Let me do that in a separate CL.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/HTMLFormE...
File Source/core/html/HTMLFormElement.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/HTMLFormE...
Source/core/html/HTMLFormElement.cpp:683: if
(namedItems.find(aliasElement.passRefPtr()) == notFound) {
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> Any specific reason why you decided to use passRefPtr here instead of .raw()?

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/RadioInpu...
File Source/core/html/RadioInputType.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/RadioInpu...
Source/core/html/RadioInputType.cpp:95: Handle<HTMLInputElement>
inputElement(static_cast<HTMLInputElement*>(node));
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> Do we want to have HandleScope in this loop?

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/RadioNode...
File Source/core/html/RadioNodeList.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/RadioNode...
Source/core/html/RadioNodeList.cpp:65: Handle<const HTMLInputElement>
inputElement = toRadioButtonInputElement(node);
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> HandleScope?

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/html/RadioNode...
Source/core/html/RadioNodeList.cpp:77: Handle<HTMLInputElement> inputElement =
toRadioButtonInputElement(node);
On 2013/07/18 16:50:08, Vyacheslav Egorov (Google) wrote:
> HandleScope? (ditto in other loops).

Done.

https://codereview.chromium.org/19509003/diff/5001/Source/core/page/DragContr...
File Source/core/page/DragController.cpp (right):

https://codereview.chromium.org/19509003/diff/5001/Source/core/page/DragContr...
Source/core/page/DragController.cpp:453: m_fileInputElementUnderMouse.clear();

I'm neutral to this. Sometimes we need to return an original value, like this:

  return m_somePersistentHandle.clear();

For consistency, I might want to always use .clear() when clearing persistent
handles.

Powered by Google App Engine
This is Rietveld 408576698