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

Unified Diff: cc/resources/resource_provider.cc

Issue 14925009: Run all LayerTreeHost tests with a delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix context tests Created 7 years, 7 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/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 6d31210c5158ab39bacc1f14d01656f2b11a7104..d1d87ce65ff2d4c4d6f14583eab7d697c7838c23 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -304,7 +304,7 @@ void ResourceProvider::DeleteResourceInternal(ResourceMap::iterator it,
bool lost_resource = lost_output_surface_;
DCHECK(!resource->exported || style != Normal);
- if (style == ForShutdown && resource->exported)
+ if (style == ForShutdown)
danakj 2013/05/09 02:42:50 When the RP shuts down, it calls mailbox callbacks
danakj 2013/05/09 02:43:11 Oh, this we talked about and I reverted/fixed.
lost_resource = true;
if (resource->gl_id && !resource->external) {

Powered by Google App Engine
This is Rietveld 408576698