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

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: Apply code review comments 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 f0ab136cc2c07b90c420eae0fc47ca8eac2f8e2e..883cb7600e0c3950d03b31993bda2e43b062946c 100644
--- a/cc/prioritized_texture.h
+++ b/cc/prioritized_texture.h
@@ -18,6 +18,7 @@
namespace cc {
class PrioritizedTextureManager;
+class Proxy;
class PrioritizedTexture {
public:
@@ -106,6 +107,8 @@ private:
bool resourceHasBeenDeleted() const;
private:
+ const Proxy* proxy() const;
+
friend class PrioritizedTexture;
PrioritizedTexture* m_owner;
int m_priorityAtLastPriorityUpdate;
@@ -118,7 +121,6 @@ private:
#ifndef NDEBUG
ResourceProvider* m_resourceProvider;
#endif
-
DISALLOW_COPY_AND_ASSIGN(Backing);
};

Powered by Google App Engine
This is Rietveld 408576698