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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextAreaElement.h

Issue 2733783003: TEXTAREA element: Updating child nodes without updating textContent should do nothing (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
index 3bdb7c6868afc236f507c81cc636d4a8798a3073..9fd8c06028711d7d57115abd16d64298fe91e31f 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
@@ -68,7 +68,6 @@ class CORE_EXPORT HTMLTextAreaElement final : public TextControlElement {
explicit HTMLTextAreaElement(Document&);
enum WrapMethod { NoWrap, SoftWrap, HardWrap };
- enum SetValueCommonOption { NotSetSelection, SetSeletion };
void didAddUserAgentShadowRoot(ShadowRoot&) override;
// FIXME: Author shadows should be allowed
@@ -80,9 +79,7 @@ class CORE_EXPORT HTMLTextAreaElement final : public TextControlElement {
void updateValue() const;
void setInnerEditorValue(const String&) override;
void setNonDirtyValue(const String&);
- void setValueCommon(const String&,
- TextFieldEventBehavior,
- SetValueCommonOption = NotSetSelection);
+ void setValueCommon(const String&, TextFieldEventBehavior);
bool isPlaceholderVisible() const override { return m_isPlaceholderVisible; }
void setPlaceholderVisibility(bool) override;

Powered by Google App Engine
This is Rietveld 408576698