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

Unified Diff: cc/prioritized_texture.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review comments and fix all cc_unittests Created 8 years, 2 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/prioritized_texture.h
diff --git a/cc/prioritized_texture.h b/cc/prioritized_texture.h
index 1939f9f0beb8a1c9aabb99094f49332dd1539b9e..ea8f7703c7a6aaf38a3495004e9226e04b5ff569 100644
--- a/cc/prioritized_texture.h
+++ b/cc/prioritized_texture.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
+#include "base/threading/thread_checker.h"
#include "cc/priority_calculator.h"
#include "cc/resource_provider.h"
#include "cc/texture.h"
@@ -116,6 +117,7 @@ private:
#ifndef NDEBUG
ResourceProvider* m_resourceProvider;
#endif
+ base::ThreadChecker m_threadChecker;
DISALLOW_COPY_AND_ASSIGN(Backing);
};

Powered by Google App Engine
This is Rietveld 408576698