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

Unified Diff: cc/resource_provider.cc

Issue 12212007: cc: Route offscreen context creation for compositor to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the GrContextProvider::ScopedContexts guard classes Created 7 years, 10 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/resource_provider.cc
diff --git a/cc/resource_provider.cc b/cc/resource_provider.cc
index 9cc122c50aef0776e5905dfb7b7fd0f1f8cdd001..a07defa39c1692657a5813373acbc84047939418 100644
--- a/cc/resource_provider.cc
+++ b/cc/resource_provider.cc
@@ -582,6 +582,7 @@ ResourceProvider::ResourceProvider(OutputSurface* context)
, m_useShallowFlush(false)
, m_maxTextureSize(0)
, m_bestTextureFormat(0)
+ , ALLOW_THIS_IN_INITIALIZER_LIST(m_offscreenContextProvider(this))
{
}

Powered by Google App Engine
This is Rietveld 408576698