Title: [134046] trunk/Source/WebCore
Revision
134046
Author
kei...@webkit.org
Date
2012-11-09 03:39:06 -0800 (Fri, 09 Nov 2012)

Log Message

Fix undefined variable in Week constructor for calendar picker
https://bugs.webkit.org/show_bug.cgi?id=101734

Reviewed by Kent Tamura.

Closer compiler found an undefined variable in the Week constructor.

No new tests. This code isn't used.

* Resources/pagepopups/calendarPicker.js:
(Week): Used wrong variable name.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134045 => 134046)


--- trunk/Source/WebCore/ChangeLog	2012-11-09 11:33:58 UTC (rev 134045)
+++ trunk/Source/WebCore/ChangeLog	2012-11-09 11:39:06 UTC (rev 134046)
@@ -1,3 +1,17 @@
+2012-11-09  Keishi Hattori  <kei...@webkit.org>
+
+        Fix undefined variable in Week constructor for calendar picker
+        https://bugs.webkit.org/show_bug.cgi?id=101734
+
+        Reviewed by Kent Tamura.
+
+        Closer compiler found an undefined variable in the Week constructor.
+
+        No new tests. This code isn't used.
+
+        * Resources/pagepopups/calendarPicker.js:
+        (Week): Used wrong variable name.
+
 2012-11-09  Pavel Feldman  <pfeld...@chromium.org>
 
         Web Inspector: render canvas log as a grid.

Modified: trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js (134045 => 134046)


--- trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 11:33:58 UTC (rev 134045)
+++ trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 11:39:06 UTC (rev 134046)
@@ -326,7 +326,7 @@
             this.year = normalizedWeek.year;
             this.week = normalizedWeek.week;
         }
-    } else if (valueOrMonthOrYear instanceof Week) {
+    } else if (valueOrWeekOrYear instanceof Week) {
         this.year = valueOrWeekOrYear.year;
         this.week = valueOrWeekOrYear.week;
     } else {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to