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

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: Fix unit test hang by explicitly NULLing out impl_thread_message_loop_proxy_ 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
Index: cc/prioritized_texture.h
diff --git a/cc/prioritized_texture.h b/cc/prioritized_texture.h
index f8c7240c9c70430d94cdc8634dc89df352406b86..2763fc470da640a5ca9afb6dd5c89113fe168bcb 100644
--- a/cc/prioritized_texture.h
+++ b/cc/prioritized_texture.h
@@ -20,6 +20,7 @@
namespace cc {
class PrioritizedTextureManager;
+class Proxy;
class CC_EXPORT PrioritizedTexture {
public:
@@ -108,6 +109,8 @@ private:
bool resourceHasBeenDeleted() const;
private:
+ const Proxy* proxy() const;
+
friend class PrioritizedTexture;
PrioritizedTexture* m_owner;
int m_priorityAtLastPriorityUpdate;
@@ -120,7 +123,6 @@ private:
#ifndef NDEBUG
ResourceProvider* m_resourceProvider;
#endif
-
DISALLOW_COPY_AND_ASSIGN(Backing);
};

Powered by Google App Engine
This is Rietveld 408576698