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

Unified Diff: cc/prioritized_resource.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, 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/occlusion_tracker_unittest.cc ('k') | cc/prioritized_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/prioritized_resource.h
diff --git a/cc/prioritized_resource.h b/cc/prioritized_resource.h
index 1f2dc57969c0af6d6f871196703b6b30056ab6ed..8197e57c9b81e6f078adbec15aa4e7fb5e04e069 100644
--- a/cc/prioritized_resource.h
+++ b/cc/prioritized_resource.h
@@ -20,6 +20,7 @@
namespace cc {
class PrioritizedResourceManager;
+class Proxy;
class CC_EXPORT PrioritizedResource {
public:
@@ -108,6 +109,8 @@ private:
bool resourceHasBeenDeleted() const;
private:
+ const Proxy* proxy() const;
+
friend class PrioritizedResource;
PrioritizedResource* m_owner;
int m_priorityAtLastPriorityUpdate;
@@ -120,7 +123,6 @@ private:
#ifndef NDEBUG
ResourceProvider* m_resourceProvider;
#endif
-
DISALLOW_COPY_AND_ASSIGN(Backing);
};
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/prioritized_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698