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

Unified Diff: Source/core/fetch/ResourceLoadPriorityOptimizer.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/fetch/ResourceLoadPriorityOptimizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceLoadPriorityOptimizer.h
diff --git a/Source/core/fetch/ResourceLoadPriorityOptimizer.h b/Source/core/fetch/ResourceLoadPriorityOptimizer.h
index 0ff4efe95ee94d8faaad027c24dbb5eeae198ad7..d48d30925cb588f454fb0ef013dbb231df1a61c4 100644
--- a/Source/core/fetch/ResourceLoadPriorityOptimizer.h
+++ b/Source/core/fetch/ResourceLoadPriorityOptimizer.h
@@ -49,8 +49,8 @@ public:
};
void notifyImageResourceVisibility(ImageResource*, VisibilityStatus, const LayoutRect&);
void updateAllImageResourcePriorities();
- void addRenderObject(RenderObject*);
- void removeRenderObject(RenderObject*);
+ void addLayoutObject(LayoutObject*);
+ void removeLayoutObject(LayoutObject*);
static ResourceLoadPriorityOptimizer* resourceLoadPriorityOptimizer();
@@ -71,8 +71,8 @@ private:
typedef HashMap<unsigned long, OwnPtr<ResourceAndVisibility>, WTF::IntHash<unsigned>, WTF::UnsignedWithZeroKeyHashTraits<unsigned>> ImageResourceMap;
ImageResourceMap m_imageResources;
- typedef HashSet<RenderObject*> RenderObjectSet;
- RenderObjectSet m_objects;
+ typedef HashSet<LayoutObject*> LayoutObjectSet;
+ LayoutObjectSet m_objects;
};
}
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/core/fetch/ResourceLoadPriorityOptimizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698