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

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 Dana's code review suggestions 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..55a57f0f6b066628200092c16f7d795b3ba82ace 100644
--- a/cc/prioritized_texture.h
+++ b/cc/prioritized_texture.h
@@ -18,6 +18,7 @@
namespace cc {
class PrioritizedTextureManager;
+class Proxy;
class PrioritizedTexture {
public:
@@ -104,6 +105,8 @@ private:
bool resourceHasBeenDeleted() const;
private:
+ const Proxy* proxy() const;
+
friend class PrioritizedTexture;
PrioritizedTexture* m_owner;
int m_priorityAtLastPriorityUpdate;
@@ -116,7 +119,6 @@ private:
#ifndef NDEBUG
ResourceProvider* m_resourceProvider;
#endif
-
DISALLOW_COPY_AND_ASSIGN(Backing);
};

Powered by Google App Engine
This is Rietveld 408576698