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

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

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rename Created 6 years, 5 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/HTMLTextAreaElement.h
diff --git a/Source/core/html/HTMLTextAreaElement.h b/Source/core/html/HTMLTextAreaElement.h
index d0e86887aeddd82ede8bd53014ee0ee8c6c950ce..aeeffea63bd9e1b52eb439401b95996c6d7a5a21 100644
--- a/Source/core/html/HTMLTextAreaElement.h
+++ b/Source/core/html/HTMLTextAreaElement.h
@@ -76,7 +76,7 @@ private:
void updateValue() const;
virtual void setInnerEditorValue(const String&) OVERRIDE;
void setNonDirtyValue(const String&);
- void setValueCommon(const String&, TextFieldEventBehavior);
+ bool setValueCommon(const String&, TextFieldEventBehavior);
yosin_UTC9 2014/07/16 07:09:14 nit: Could you add comment about |bool| return val
yoichio 2014/07/16 08:07:12 Done.
virtual bool supportsPlaceholder() const OVERRIDE { return true; }
virtual void updatePlaceholderText() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698