Skip to content

Instantly share code, notes, and snippets.

@BenjaminPoulain
Created March 20, 2012 06:32
Show Gist options
  • Save BenjaminPoulain/2132010 to your computer and use it in GitHub Desktop.
Save BenjaminPoulain/2132010 to your computer and use it in GitHub Desktop.
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 111362)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,3 +1,12 @@
+2012-03-19 Benjamin Poulain <bpoulain@apple.com>
+
+ Build fix for Debug build after r111358
+
+ Unreviewed.
+
+ * bindings/js/CachedScriptSourceProvider.h:
+ * bindings/js/StringSourceProvider.h:
+
2012-03-19 Emil A Eklund <eae@chromium.org>
Add FractionalLayoutUnit version of blend to AnimationUtilities
Index: Source/WebCore/bindings/js/StringSourceProvider.h
===================================================================
--- Source/WebCore/bindings/js/StringSourceProvider.h (revision 111362)
+++ Source/WebCore/bindings/js/StringSourceProvider.h (working copy)
@@ -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));
}
Index: Source/WebCore/bindings/js/CachedScriptSourceProvider.h
===================================================================
--- Source/WebCore/bindings/js/CachedScriptSourceProvider.h (revision 111362)
+++ Source/WebCore/bindings/js/CachedScriptSourceProvider.h (working copy)
@@ -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));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment