[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 15:23:49 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 23042540e73093ef5a1945e9100b900003a4b648
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Nov 2 19:37:01 2010 +0000
2010-11-02 Ilya Sherman <isherman at chromium.org>
Reviewed by Simon Fraser.
Marks selectionStart() and selectionEnd() as const.
https://bugs.webkit.org/show_bug.cgi?id=48786
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::selectionStart):
(WebCore::HTMLTextFormControlElement::selectionEnd):
* html/HTMLFormControlElement.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f725b4d..6b2d39c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-02 Ilya Sherman <isherman at chromium.org>
+
+ Reviewed by Simon Fraser.
+
+ Marks selectionStart() and selectionEnd() as const.
+ https://bugs.webkit.org/show_bug.cgi?id=48786
+
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLTextFormControlElement::selectionStart):
+ (WebCore::HTMLTextFormControlElement::selectionEnd):
+ * html/HTMLFormControlElement.h:
+
2010-11-02 Chris Rogers <crogers at google.com>
Reviewed by Kenneth Russell.
diff --git a/WebCore/html/HTMLFormControlElement.cpp b/WebCore/html/HTMLFormControlElement.cpp
index 710cda1..abaeee2 100644
--- a/WebCore/html/HTMLFormControlElement.cpp
+++ b/WebCore/html/HTMLFormControlElement.cpp
@@ -568,7 +568,7 @@ void HTMLTextFormControlElement::setSelectionRange(int start, int end)
WebCore::setSelectionRange(this, start, end);
}
-int HTMLTextFormControlElement::selectionStart()
+int HTMLTextFormControlElement::selectionStart() const
{
if (!isTextFormControl())
return 0;
@@ -579,7 +579,7 @@ int HTMLTextFormControlElement::selectionStart()
return toRenderTextControl(renderer())->selectionStart();
}
-int HTMLTextFormControlElement::selectionEnd()
+int HTMLTextFormControlElement::selectionEnd() const
{
if (!isTextFormControl())
return 0;
diff --git a/WebCore/html/HTMLFormControlElement.h b/WebCore/html/HTMLFormControlElement.h
index 8b721d8..3ceefb0 100644
--- a/WebCore/html/HTMLFormControlElement.h
+++ b/WebCore/html/HTMLFormControlElement.h
@@ -182,8 +182,8 @@ public:
String strippedPlaceholder() const;
bool placeholderShouldBeVisible() const;
- int selectionStart();
- int selectionEnd();
+ int selectionStart() const;
+ int selectionEnd() const;
void setSelectionStart(int);
void setSelectionEnd(int);
void select();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list