summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/win/QTMovie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/win/QTMovie.cpp')
-rw-r--r--WebCore/platform/graphics/win/QTMovie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/win/QTMovie.cpp b/WebCore/platform/graphics/win/QTMovie.cpp
index e425bf8..efaf218 100644
--- a/WebCore/platform/graphics/win/QTMovie.cpp
+++ b/WebCore/platform/graphics/win/QTMovie.cpp
@@ -548,7 +548,7 @@ void QTMovie::load(CFURLRef url, bool preservesPitch)
movieProps[moviePropCount].propStatus = 0;
moviePropCount++;
- ASSERT(moviePropCount <= sizeof(movieProps) / sizeof(movieProps[0]));
+ ASSERT(moviePropCount <= WTF_ARRAY_LENGTH(movieProps));
m_private->m_loadError = NewMovieFromProperties(moviePropCount, movieProps, 0, 0, &m_private->m_movie);
end: