diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-09 14:16:12 +0100 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-09 14:16:12 +0100 |
| commit | 03e12282df9aa1e1fb05a8b90f1cfc2e08764cec (patch) | |
| tree | 52599cd0ab782b1768e23ad176f7618f98333cb6 /Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp | |
| parent | cd44dc59cdfc39534aef4d417e9f3c412e3be139 (diff) | |
| download | qtwebkit-03e12282df9aa1e1fb05a8b90f1cfc2e08764cec.tar.gz | |
Imported WebKit commit e09a82039aa4273ab318b71122e92d8e5f233525 (http://svn.webkit.org/repository/webkit/trunk@107223)
Diffstat (limited to 'Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp')
| -rw-r--r-- | Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp b/Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp index 1df27c011..4b3dd27d3 100644 --- a/Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp +++ b/Source/WebKit/chromium/tests/Canvas2DLayerChromiumTest.cpp @@ -75,12 +75,6 @@ namespace WebCore { class Canvas2DLayerChromiumTest : public Test { protected: - // This indirection is needed because individual tests aren't friends of Canvas2DLayerChromium. - void setTextureManager(Canvas2DLayerChromium* layer, TextureManager* manager) - { - layer->setTextureManager(manager); - } - void fullLifecycleTest(bool threaded) { GraphicsContext3D::Attributes attrs; @@ -133,7 +127,7 @@ protected: RefPtr<Canvas2DLayerChromium> canvas = Canvas2DLayerChromium::create(mainContext.get(), size); canvas->setIsDrawable(true); - setTextureManager(canvas.get(), textureManager.get()); + canvas->setTextureManager(textureManager.get()); canvas->setBounds(IntSize(600, 300)); canvas->setTextureId(backTextureId); |
