From f17a37e3aa56908e421109995f8734742b22241a Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Tue, 1 Oct 2013 23:16:41 +0000 Subject: Remove WGC3D::width(), height(), reshape() implementations These get removed from the interface in https://codereview.chromium.org/25450002/ as they are not used. BUG=181120 Review URL: https://codereview.chromium.org/25455002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226336 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/debug/fake_web_graphics_context_3d.cc | 11 ----------- cc/debug/fake_web_graphics_context_3d.h | 5 ----- cc/debug/test_web_graphics_context_3d.cc | 8 -------- cc/debug/test_web_graphics_context_3d.h | 3 --- 4 files changed, 27 deletions(-) (limited to 'cc') diff --git a/cc/debug/fake_web_graphics_context_3d.cc b/cc/debug/fake_web_graphics_context_3d.cc index f493dc1..25157bf 100644 --- a/cc/debug/fake_web_graphics_context_3d.cc +++ b/cc/debug/fake_web_graphics_context_3d.cc @@ -25,17 +25,6 @@ bool FakeWebGraphicsContext3D::makeContextCurrent() { return true; } -int FakeWebGraphicsContext3D::width() { - return 1; -} - -int FakeWebGraphicsContext3D::height() { - return 1; -} - -void FakeWebGraphicsContext3D::reshape(int width, int height) { -} - bool FakeWebGraphicsContext3D::isGLES2Compliant() { return false; } diff --git a/cc/debug/fake_web_graphics_context_3d.h b/cc/debug/fake_web_graphics_context_3d.h index 04c983d..1bd3647 100644 --- a/cc/debug/fake_web_graphics_context_3d.h +++ b/cc/debug/fake_web_graphics_context_3d.h @@ -23,11 +23,6 @@ class CC_EXPORT FakeWebGraphicsContext3D virtual bool makeContextCurrent(); - virtual int width(); - virtual int height(); - - virtual void reshape(int width, int height); - virtual bool isGLES2Compliant(); virtual WebKit::WebGLId getPlatformTextureId(); diff --git a/cc/debug/test_web_graphics_context_3d.cc b/cc/debug/test_web_graphics_context_3d.cc index 634778f..4c42a90 100644 --- a/cc/debug/test_web_graphics_context_3d.cc +++ b/cc/debug/test_web_graphics_context_3d.cc @@ -136,14 +136,6 @@ bool TestWebGraphicsContext3D::makeContextCurrent() { return !context_lost_; } -int TestWebGraphicsContext3D::width() { - return width_; -} - -int TestWebGraphicsContext3D::height() { - return height_; -} - void TestWebGraphicsContext3D::reshapeWithScaleFactor( int width, int height, float scale_factor) { width_ = width; diff --git a/cc/debug/test_web_graphics_context_3d.h b/cc/debug/test_web_graphics_context_3d.h index 91650ef..84375c7 100644 --- a/cc/debug/test_web_graphics_context_3d.h +++ b/cc/debug/test_web_graphics_context_3d.h @@ -30,9 +30,6 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { virtual bool makeContextCurrent(); - virtual int width() OVERRIDE; - virtual int height() OVERRIDE; - virtual void reshapeWithScaleFactor( int width, int height, float scale_factor); -- cgit v1.1