Title: [88038] trunk/Source/WebKit/qt
Revision
88038
Author
[email protected]
Date
2011-06-03 12:18:09 -0700 (Fri, 03 Jun 2011)

Log Message

2011-06-03  Alexis Menard  <[email protected]>

        Reviewed by Benjamin Poulain.

        Some warning fixes. Values in switch not handled, and
        a comparison between a signed and an unsigned.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        (QWebPagePrivate::dynamicPropertyChangeEvent):
        (QWebPage::action):

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/Api/qwebpage.cpp (88037 => 88038)


--- trunk/Source/WebKit/qt/Api/qwebpage.cpp	2011-06-03 19:17:31 UTC (rev 88037)
+++ trunk/Source/WebKit/qt/Api/qwebpage.cpp	2011-06-03 19:18:09 UTC (rev 88038)
@@ -1112,6 +1112,8 @@
             }
             break;
         }
+        default:
+            break;
         }
     }
 
@@ -1175,7 +1177,7 @@
         };
 
         QString p = q->property("_q_RepaintThrottlingPreset").toString();
-        for(int i = 0; i < sizeof(presets) / sizeof(presets[0]); i++) {
+        for (size_t i = 0; i < sizeof(presets) / sizeof(presets[0]); i++) {
             if (p == QLatin1String(presets[i].name)) {
                 FrameView::setRepaintThrottlingDeferredRepaintDelay(
                         presets[i].deferredRepaintDelay);
@@ -2967,9 +2969,10 @@
         case AlignRight:
             text = tr("Align Right");
             break;
-
         case NoWebAction:
             return 0;
+        default:
+            break;
     }
 
     if (text.isEmpty())

Modified: trunk/Source/WebKit/qt/ChangeLog (88037 => 88038)


--- trunk/Source/WebKit/qt/ChangeLog	2011-06-03 19:17:31 UTC (rev 88037)
+++ trunk/Source/WebKit/qt/ChangeLog	2011-06-03 19:18:09 UTC (rev 88038)
@@ -1,3 +1,15 @@
+2011-06-03  Alexis Menard  <[email protected]>
+
+        Reviewed by Benjamin Poulain.
+
+        Some warning fixes. Values in switch not handled, and
+        a comparison between a signed and an unsigned.
+
+        * Api/qwebpage.cpp:
+        (QWebPagePrivate::inputMethodEvent):
+        (QWebPagePrivate::dynamicPropertyChangeEvent):
+        (QWebPage::action):
+
 2011-06-02  Caio Marcelo de Oliveira Filho  <[email protected]>
 
         Reviewed by Andreas Kling.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to