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

Unified Diff: Source/core/html/forms/PasswordInputType.cpp

Issue 267283007: Oilpan: Prepare to move form control ua shadow elements to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
Index: Source/core/html/forms/PasswordInputType.cpp
diff --git a/Source/core/html/forms/PasswordInputType.cpp b/Source/core/html/forms/PasswordInputType.cpp
index 2273e11624747774038668cd4afa3fe11dd7b12f..174cfedfe7a56695e4960dea8c17add84b93b9dc 100644
--- a/Source/core/html/forms/PasswordInputType.cpp
+++ b/Source/core/html/forms/PasswordInputType.cpp
@@ -85,7 +85,7 @@ void PasswordInputType::createShadowSubtree()
BaseTextInputType::createShadowSubtree();
if (!isPasswordGenerationEnabled())
return;
- RefPtr<PasswordGeneratorButtonElement> generatorButton = PasswordGeneratorButtonElement::create(element().document());
+ RefPtrWillBeRawPtr<PasswordGeneratorButtonElement> generatorButton = PasswordGeneratorButtonElement::create(element().document());
if (!isPasswordGenerationDecorationEnabled())
generatorButton->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
containerElement()->appendChild(generatorButton.release());
« no previous file with comments | « no previous file | Source/core/html/forms/RangeInputType.cpp » ('j') | Source/core/html/forms/TextFieldInputType.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698