[Chromium] Unreviewed debug build fix for r120457
authorfmalita@chromium.org <fmalita@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2012 15:18:59 +0000 (15:18 +0000)
committerfmalita@chromium.org <fmalita@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2012 15:18:59 +0000 (15:18 +0000)
Patch by Florin Malita <fmalita@chromium.org> on 2012-06-15

* platform/graphics/chromium/cc/CCDrawQuad.cpp:
(WebCore::CCDrawQuad::toYUVVideoDrawQuad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCDrawQuad.cpp

index 08ce46c..b3c8f16 100644 (file)
@@ -1,3 +1,10 @@
+2012-06-15  Florin Malita  <fmalita@chromium.org>
+
+        [Chromium] Unreviewed debug build fix for r120457
+
+        * platform/graphics/chromium/cc/CCDrawQuad.cpp:
+        (WebCore::CCDrawQuad::toYUVVideoDrawQuad):
+
 2012-06-15  'Pavel Feldman'  <pfeldman@chromium.org>
 
         Not reviewed: remove redundant Mac-specific style rule from inspector front-end.
index 4ea51e2..ce6033b 100644 (file)
@@ -116,7 +116,7 @@ const CCTileDrawQuad* CCDrawQuad::toTileDrawQuad() const
 
 const CCYUVVideoDrawQuad* CCDrawQuad::toYUVVideoDrawQuad() const
 {
-    ASSERT(m_material == VideoContent);
+    ASSERT(m_material == YUVVideoContent);
     return static_cast<const CCYUVVideoDrawQuad*>(this);
 }