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

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

Issue 1846913005: Newline characters in pasted text are not counted correctly for textarea[maxlength]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 1bbd246f5470ab0bedfd9c51f92124f4b9cd9826..a149e39b2968a2c5e5f17d300403656cc0f035ba 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.h
@@ -24,6 +24,7 @@
#ifndef HTMLTextAreaElement_h
#define HTMLTextAreaElement_h
+#include "base/gtest_prod_util.h"
#include "core/CoreExport.h"
#include "core/html/HTMLTextFormControlElement.h"
@@ -66,6 +67,7 @@ public:
void setRows(unsigned);
private:
+ FRIEND_TEST_ALL_PREFIXES(HTMLTextAreaElementTest, SanitizeUserInputValue);
HTMLTextAreaElement(Document&, HTMLFormElement*);
enum WrapMethod { NoWrap, SoftWrap, HardWrap };
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698