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

Unified Diff: content/common/gpu/client/gl_helper_benchmark.cc

Issue 117233006: Port content::GLHelper over to GLES2Interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: content/common/gpu/client/gl_helper_benchmark.cc
diff --git a/content/common/gpu/client/gl_helper_benchmark.cc b/content/common/gpu/client/gl_helper_benchmark.cc
index f9385fdd8225df6328f815823ce156f108e95d68..5e098f921e0d48c512b1e6437b92c7712987215b 100644
--- a/content/common/gpu/client/gl_helper_benchmark.cc
+++ b/content/common/gpu/client/gl_helper_benchmark.cc
@@ -67,9 +67,10 @@ class GLHelperTest : public testing::Test {
context_->makeContextCurrent();
helper_.reset(
- new content::GLHelper(context_.get(), context_->GetContextSupport()));
+ new content::GLHelper(context_->GetGLInterface(),
+ context_->GetContextSupport()));
helper_scaling_.reset(new content::GLHelperScaling(
- context_.get(),
+ context_->GetGLInterface(),
helper_.get()));
}

Powered by Google App Engine
This is Rietveld 408576698