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

Unified Diff: cc/resource_provider.h

Issue 11369071: A speculative Revert for r165872 - Remove static thread pointers from CC, attempt 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/renderer.h ('k') | cc/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resource_provider.h
===================================================================
--- cc/resource_provider.h (revision 165906)
+++ cc/resource_provider.h (working copy)
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
-#include "base/threading/thread_checker.h"
#include "cc/cc_export.h"
#include "cc/graphics_context.h"
#include "cc/texture_copier.h"
@@ -33,8 +32,8 @@
class TextureUploader;
-// This class is not thread-safe and can only be called from the thread it was
-// created on (in practice, the impl thread).
+// Thread-safety notes: this class is not thread-safe and can only be called
+// from the thread it was created on (in practice, the compositor thread).
class CC_EXPORT ResourceProvider {
public:
typedef unsigned ResourceId;
@@ -263,8 +262,6 @@
scoped_ptr<AcceleratedTextureCopier> m_textureCopier;
int m_maxTextureSize;
- base::ThreadChecker m_threadChecker;
-
DISALLOW_COPY_AND_ASSIGN(ResourceProvider);
};
« no previous file with comments | « cc/renderer.h ('k') | cc/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698