Title: [111364] trunk/Source/WebCore
Revision
111364
Author
[email protected]
Date
2012-03-19 23:37:36 -0700 (Mon, 19 Mar 2012)

Log Message

Build fix for Debug build after r111358

Unreviewed.

Patch by Benjamin Poulain <[email protected]> on 2012-03-19

* bindings/js/CachedScriptSourceProvider.h:
* bindings/js/StringSourceProvider.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111363 => 111364)


--- trunk/Source/WebCore/ChangeLog	2012-03-20 06:35:23 UTC (rev 111363)
+++ trunk/Source/WebCore/ChangeLog	2012-03-20 06:37:36 UTC (rev 111364)
@@ -1,3 +1,12 @@
+2012-03-19  Benjamin Poulain  <[email protected]>
+
+        Build fix for Debug build after r111358
+
+        Unreviewed.
+
+        * bindings/js/CachedScriptSourceProvider.h:
+        * bindings/js/StringSourceProvider.h:
+
 2012-03-19  Emil A Eklund  <[email protected]>
 
         Add FractionalLayoutUnit version of blend to AnimationUtilities

Modified: trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h (111363 => 111364)


--- trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h	2012-03-20 06:35:23 UTC (rev 111363)
+++ trunk/Source/WebCore/bindings/js/CachedScriptSourceProvider.h	2012-03-20 06:37:36 UTC (rev 111364)
@@ -49,7 +49,7 @@
         {
             int length = end - start;
             ASSERT(length >= 0);
-            ASSERT(start + length <= length());
+            ASSERT(start + length <= this->length());
 
             String script = m_cachedScript->script();
             return JSC::UString(StringImpl::create(script.impl(), start, length));

Modified: trunk/Source/WebCore/bindings/js/StringSourceProvider.h (111363 => 111364)


--- trunk/Source/WebCore/bindings/js/StringSourceProvider.h	2012-03-20 06:35:23 UTC (rev 111363)
+++ trunk/Source/WebCore/bindings/js/StringSourceProvider.h	2012-03-20 06:37:36 UTC (rev 111364)
@@ -46,7 +46,7 @@
         {
             int length = end - start;
             ASSERT(length >= 0);
-            ASSERT(start + length <= length());
+            ASSERT(start + length <= this->length());
 
             return JSC::UString(StringImpl::create(m_source.impl(), start, length));
         }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to