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

Unified Diff: cc/CCLayerTreeHostTest.cpp

Issue 10914236: cc: Avoid unnecessary destruction of texture update controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update changelog Created 8 years, 3 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
« no previous file with comments | « no previous file | cc/CCThreadProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostTest.cpp
diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp
index eb0ec56b90069ddb086be3a82ec374c7c3b83a87..183091e10e8813546103066218d1eb194b84018c 100644
--- a/cc/CCLayerTreeHostTest.cpp
+++ b/cc/CCLayerTreeHostTest.cpp
@@ -2758,9 +2758,9 @@ public:
}
virtual void getQueryObjectuivEXT(WebGLId, GC3Denum pname, GC3Duint* params)
{
- // Context is lost. Result will never be available.
+ // Context is lost. We need to behave as if result is available.
if (pname == Extensions3DChromium::QUERY_RESULT_AVAILABLE_EXT)
- *params = 0;
+ *params = 1;
}
private:
« no previous file with comments | « no previous file | cc/CCThreadProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698