Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index 9e2dcd7a1919cbd069502e3d3574e0dd6b8b68b7..9c604bb729fc6bc18b7659d27dc063a237ff17cc 100644 |
--- a/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/Source/core/html/forms/CheckboxInputType.cpp |
@@ -68,12 +68,12 @@ void CheckboxInputType::handleKeyupEvent(KeyboardEvent* event) |
dispatchSimulatedClickIfActive(event); |
} |
-PassOwnPtr<ClickHandlingState> CheckboxInputType::willDispatchClick() |
+PassOwnPtrWillBeRawPtr<ClickHandlingState> CheckboxInputType::willDispatchClick() |
{ |
// An event handler can use preventDefault or "return false" to reverse the checking we do here. |
// The ClickHandlingState object contains what we need to undo what we did here in didDispatchClick. |
- OwnPtr<ClickHandlingState> state = adoptPtr(new ClickHandlingState); |
+ OwnPtrWillBeRawPtr<ClickHandlingState> state = adoptPtrWillBeNoop(new ClickHandlingState); |
state->checked = element().checked(); |
state->indeterminate = element().indeterminate(); |