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

Unified Diff: cc/test/fake_web_graphics_context_3d.cc

Issue 126973002: Decouple cc::FakeWebGraphicsContext3D from blink::WGC3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/fake_web_graphics_context_3d.h ('k') | cc/test/test_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_web_graphics_context_3d.cc
diff --git a/cc/test/fake_web_graphics_context_3d.cc b/cc/test/fake_web_graphics_context_3d.cc
index c9aeb3f5942216148fa752333159d14b61f60492..34e5b9ea5315f3f8490746e7c05c6db2094f2bae 100644
--- a/cc/test/fake_web_graphics_context_3d.cc
+++ b/cc/test/fake_web_graphics_context_3d.cc
@@ -15,12 +15,9 @@ using blink::WebGraphicsContext3D;
namespace cc {
-FakeWebGraphicsContext3D::FakeWebGraphicsContext3D()
- : blink::WebGraphicsContext3D() {
-}
+FakeWebGraphicsContext3D::FakeWebGraphicsContext3D() {}
-FakeWebGraphicsContext3D::~FakeWebGraphicsContext3D() {
-}
+FakeWebGraphicsContext3D::~FakeWebGraphicsContext3D() {}
bool FakeWebGraphicsContext3D::makeContextCurrent() {
return true;
@@ -71,14 +68,14 @@ WGC3Denum FakeWebGraphicsContext3D::checkFramebufferStatus(
bool FakeWebGraphicsContext3D::getActiveAttrib(
WebGLId program,
blink::WGC3Duint index,
- ActiveInfo&) {
+ WebGraphicsContext3D::ActiveInfo&) {
return false;
}
bool FakeWebGraphicsContext3D::getActiveUniform(
WebGLId program,
blink::WGC3Duint index,
- ActiveInfo&) {
+ WebGraphicsContext3D::ActiveInfo&) {
return false;
}
@@ -88,11 +85,6 @@ blink::WGC3Dint FakeWebGraphicsContext3D::getAttribLocation(
return 0;
}
-WebGraphicsContext3D::Attributes
- FakeWebGraphicsContext3D::getContextAttributes() {
- return WebGraphicsContext3D::Attributes();
-}
-
WGC3Denum FakeWebGraphicsContext3D::getError() {
return 0;
}
@@ -348,7 +340,7 @@ void FakeWebGraphicsContext3D::getQueryObjectuivEXT(
}
void FakeWebGraphicsContext3D::setContextLostCallback(
- WebGraphicsContextLostCallback* callback) {
+ WebGraphicsContext3D::WebGraphicsContextLostCallback* callback) {
}
void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current,
« no previous file with comments | « cc/test/fake_web_graphics_context_3d.h ('k') | cc/test/test_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698