diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-01 23:16:41 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-01 23:16:41 +0000 |
commit | f17a37e3aa56908e421109995f8734742b22241a (patch) | |
tree | fd598d40c7588485a17f2acda4e7d9a614690a3f /cc/debug | |
parent | 8330481c1142312a73659394f5497539cc65311d (diff) | |
download | chromium_src-f17a37e3aa56908e421109995f8734742b22241a.zip chromium_src-f17a37e3aa56908e421109995f8734742b22241a.tar.gz chromium_src-f17a37e3aa56908e421109995f8734742b22241a.tar.bz2 |
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
Diffstat (limited to 'cc/debug')
-rw-r--r-- | cc/debug/fake_web_graphics_context_3d.cc | 11 | ||||
-rw-r--r-- | cc/debug/fake_web_graphics_context_3d.h | 5 | ||||
-rw-r--r-- | cc/debug/test_web_graphics_context_3d.cc | 8 | ||||
-rw-r--r-- | cc/debug/test_web_graphics_context_3d.h | 3 |
4 files changed, 0 insertions, 27 deletions
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); |