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

Unified Diff: cc/test/FakeWebGraphicsContext3D.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 months 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/test/FakeGraphicsContext3DTest.cpp ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/FakeWebGraphicsContext3D.h
diff --git a/cc/test/FakeWebGraphicsContext3D.h b/cc/test/FakeWebGraphicsContext3D.h
index 67ad922f80f230e5f1b168b72c417ecd0437feda..4e753f70f03f44aaee5372a9fc2ebdca1526f560 100644
--- a/cc/test/FakeWebGraphicsContext3D.h
+++ b/cc/test/FakeWebGraphicsContext3D.h
@@ -76,7 +76,7 @@ public:
virtual WGC3Denum checkFramebufferStatus(WGC3Denum target)
{
- return WebCore::GraphicsContext3D::FRAMEBUFFER_COMPLETE;
+ return cc::GraphicsContext3D::FRAMEBUFFER_COMPLETE;
}
virtual void clear(WGC3Dbitfield mask) { }
@@ -122,13 +122,13 @@ public:
virtual void getIntegerv(WGC3Denum pname, WGC3Dint* value)
{
- if (pname == WebCore::GraphicsContext3D::MAX_TEXTURE_SIZE)
+ if (pname == cc::GraphicsContext3D::MAX_TEXTURE_SIZE)
*value = 1024;
}
virtual void getProgramiv(WebGLId program, WGC3Denum pname, WGC3Dint* value)
{
- if (pname == WebCore::GraphicsContext3D::LINK_STATUS)
+ if (pname == cc::GraphicsContext3D::LINK_STATUS)
*value = 1;
}
@@ -137,7 +137,7 @@ public:
virtual void getShaderiv(WebGLId shader, WGC3Denum pname, WGC3Dint* value)
{
- if (pname == WebCore::GraphicsContext3D::COMPILE_STATUS)
+ if (pname == cc::GraphicsContext3D::COMPILE_STATUS)
*value = 1;
}
« no previous file with comments | « cc/test/FakeGraphicsContext3DTest.cpp ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698