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

Unified Diff: cc/test/fake_context_provider.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/test/fake_context_provider.cc
diff --git a/cc/test/fake_context_provider.cc b/cc/test/fake_context_provider.cc
index e12f78317421c916746a90bc7b4a817cf7fe59d5..a43d8fbb32c3726df927329dd9db42caf5f00b2f 100644
--- a/cc/test/fake_context_provider.cc
+++ b/cc/test/fake_context_provider.cc
@@ -25,7 +25,7 @@ bool FakeContextProvider::InitializeOnMainThread() {
DCHECK(!context3d_);
if (create_callback_.is_null())
- context3d_ = TestWebGraphicsContext3D::Create().Pass();
+ context3d_ = TestWebGraphicsContext3D::CreateShared();
else
context3d_ = create_callback_.Run();
return context3d_;

Powered by Google App Engine
This is Rietveld 408576698