[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

yurys at chromium.org yurys at chromium.org
Sun Feb 20 22:51:41 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit b2610ec7bf4808c53b6a33a430fca6124c2ee81a
Author: yurys at chromium.org <yurys at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 12 16:21:54 2011 +0000

    2011-01-12  Yury Semikhatsky  <yurys at chromium.org>
    
            Unreviewed. Fix WML compilation on Mac.
    
            * wml/WMLInputElement.cpp:
            (WebCore::WMLInputElement::setValue):
            (WebCore::WMLInputElement::setValueForUser):
            (WebCore::WMLInputElement::initialize):
            (WebCore::WMLInputElement::validateInputMask):
            * wml/WMLSelectElement.cpp:
            (WebCore::WMLSelectElement::listBoxSelectItem):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75612 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index c0dbe50..f3a27d0 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-12  Yury Semikhatsky  <yurys at chromium.org>
+
+        Unreviewed. Fix WML compilation on Mac.
+
+        * wml/WMLInputElement.cpp:
+        (WebCore::WMLInputElement::setValue):
+        (WebCore::WMLInputElement::setValueForUser):
+        (WebCore::WMLInputElement::initialize):
+        (WebCore::WMLInputElement::validateInputMask):
+        * wml/WMLSelectElement.cpp:
+        (WebCore::WMLSelectElement::listBoxSelectItem):
+
 2011-01-12  Justin Schuh  <jschuh at chromium.org>
 
         Unreviewed build fix for debug strict compiles.
diff --git a/Source/WebCore/wml/WMLInputElement.cpp b/Source/WebCore/wml/WMLInputElement.cpp
index 2d7310a..687a387 100644
--- a/Source/WebCore/wml/WMLInputElement.cpp
+++ b/Source/WebCore/wml/WMLInputElement.cpp
@@ -142,7 +142,7 @@ String WMLInputElement::value() const
     return value;
 }
 
-void WMLInputElement::setValue(const String& value, bool sendChangeEvent)
+void WMLInputElement::setValue(const String& value, bool)
 {
     setFormControlValueMatchesRenderer(false);
     m_data.setValue(constrainValue(value));
@@ -161,7 +161,7 @@ void WMLInputElement::setValue(const String& value, bool sendChangeEvent)
     InputElement::notifyFormStateChanged(this);
 }
 
-void WMLInputElement::setValueForUser(const String& value)
+void WMLInputElement::setValueForUser(const String&)
 {
     /* InputElement class defines pure virtual function 'setValueForUser', which 
        will be useful only in HTMLInputElement. Do nothing in 'WMLInputElement'.
@@ -374,7 +374,7 @@ void WMLInputElement::initialize()
     if (!hasAttribute(WMLNames::emptyokAttr)) {
         if (m_formatMask.isEmpty() || 
             // check if the format codes is just "*f"
-           (m_formatMask.length() == 2 && m_formatMask[0] == '*' && formatCodes().find(m_formatMask[1]) != -1))
+           (m_formatMask.length() == 2 && m_formatMask[0] == '*' && formatCodes().find(m_formatMask[1]) != notFound))
             m_isEmptyOk = true;
     }
 }
@@ -389,11 +389,11 @@ String WMLInputElement::validateInputMask(const String& inputMask)
  
     for (unsigned i = 0; i < maskLength; ++i) {
         formatCode = inputMask[i];
-        if (formatCodes().find(formatCode) == -1) {
+        if (formatCodes().find(formatCode) == notFound) {
             if (formatCode == '*' || (WTF::isASCIIDigit(formatCode) && formatCode != '0')) {
                 // validate codes which ends with '*f' or 'nf'
                 formatCode = inputMask[++i];
-                if ((i + 1 != maskLength) || formatCodes().find(formatCode) == -1) {
+                if ((i + 1 != maskLength) || formatCodes().find(formatCode) == notFound) {
                     isValid = false;
                     break;
                 }
diff --git a/Source/WebCore/wml/WMLSelectElement.cpp b/Source/WebCore/wml/WMLSelectElement.cpp
index 78749b3..a00edab 100644
--- a/Source/WebCore/wml/WMLSelectElement.cpp
+++ b/Source/WebCore/wml/WMLSelectElement.cpp
@@ -552,7 +552,7 @@ String WMLSelectElement::ivalue() const
     return parseValueSubstitutingVariableReferences(getAttribute(ivalueAttr));
 }
 
-void WMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow)
+void WMLSelectElement::listBoxSelectItem(int, bool, bool, bool)
 {
     /* Dummy implementation as listBoxSelectItem is pure virtual in SelectElement class */
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list