Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3428)

Unified Diff: cc/stream_video_draw_quad.cc

Issue 11417035: cc: Switch the DrawQuad enum names to chromium style and remove pragmas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/stream_video_draw_quad.h ('k') | cc/texture_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/stream_video_draw_quad.cc
diff --git a/cc/stream_video_draw_quad.cc b/cc/stream_video_draw_quad.cc
index 737ac5d30e8dc71b776766d2af67d4b406575d19..b5c33e23276f1996d89f2a96581dc54167bd7ec8 100644
--- a/cc/stream_video_draw_quad.cc
+++ b/cc/stream_video_draw_quad.cc
@@ -14,7 +14,7 @@ scoped_ptr<StreamVideoDrawQuad> StreamVideoDrawQuad::create(const SharedQuadStat
}
StreamVideoDrawQuad::StreamVideoDrawQuad(const SharedQuadState* sharedQuadState, const gfx::Rect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
- : DrawQuad(sharedQuadState, DrawQuad::StreamVideoContent, quadRect)
+ : DrawQuad(sharedQuadState, DrawQuad::STREAM_VIDEO_CONTENT, quadRect)
, m_textureId(textureId)
, m_matrix(matrix)
{
@@ -22,7 +22,7 @@ StreamVideoDrawQuad::StreamVideoDrawQuad(const SharedQuadState* sharedQuadState,
const StreamVideoDrawQuad* StreamVideoDrawQuad::materialCast(const DrawQuad* quad)
{
- DCHECK(quad->material() == DrawQuad::StreamVideoContent);
+ DCHECK(quad->material() == DrawQuad::STREAM_VIDEO_CONTENT);
return static_cast<const StreamVideoDrawQuad*>(quad);
}
« no previous file with comments | « cc/stream_video_draw_quad.h ('k') | cc/texture_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698