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

Unified Diff: cc/layers/scrollbar_layer_unittest.cc

Issue 18796008: Implement shareResources==true in TestWebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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
Index: cc/layers/scrollbar_layer_unittest.cc
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc
index c71731d81e70b1a634c12bec92ec73a2fa6e5709..bfac4953a6d7b481eff9ec85fae47d0947a60831 100644
--- a/cc/layers/scrollbar_layer_unittest.cc
+++ b/cc/layers/scrollbar_layer_unittest.cc
@@ -381,7 +381,7 @@ class ScrollbarLayerTestMaxTextureSize : public LayerTreeTest {
TEST_F(ScrollbarLayerTestMaxTextureSize, DirectRenderer) {
scoped_ptr<TestWebGraphicsContext3D> context =
- TestWebGraphicsContext3D::Create();
+ TestWebGraphicsContext3D::CreateShared();
int max_size = 0;
context->getIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100));
@@ -390,7 +390,7 @@ TEST_F(ScrollbarLayerTestMaxTextureSize, DirectRenderer) {
TEST_F(ScrollbarLayerTestMaxTextureSize, DelegatingRenderer) {
scoped_ptr<TestWebGraphicsContext3D> context =
- TestWebGraphicsContext3D::Create();
+ TestWebGraphicsContext3D::CreateShared();
int max_size = 0;
context->getIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100));

Powered by Google App Engine
This is Rietveld 408576698