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

Unified Diff: cc/resources/resource_provider.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « cc/resources/prioritized_resource_manager.cc ('k') | cc/resources/scoped_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 9c2e4a0d1392807d6197b74655cdb09180d92a5a..9d9b247bac466539b3ea5a5e423bda8b82427725 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -1259,14 +1259,14 @@ void ResourceProvider::CleanUpGLIfNeeded() {
}
DCHECK(gl);
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
// Check that all GL resources has been deleted.
for (ResourceMap::const_iterator itr = resources_.begin();
itr != resources_.end();
++itr) {
DCHECK_NE(GLTexture, itr->second.type);
}
-#endif // DCHECK_IS_ON
+#endif // DCHECK_IS_ON()
texture_uploader_ = nullptr;
texture_id_allocator_ = nullptr;
« no previous file with comments | « cc/resources/prioritized_resource_manager.cc ('k') | cc/resources/scoped_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698