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

Unified Diff: core/cross/pack.h

Issue 5276006: O2D:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 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 | « core/cross/class_manager.cc ('k') | plugin/idl/idl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/pack.h
===================================================================
--- core/cross/pack.h (revision 66807)
+++ core/cross/pack.h (working copy)
@@ -394,6 +394,14 @@
// Array of Object Pointers.
ObjectBaseArray GetObjectsByClassName(const String& class_type_name) const;
+ // Register the given object with the Pack. The pack will add a reference
+ // to the object, guaranteeing its existence as long as the pack has not
+ // been destroyed. This is public so that it can be called by static
+ // factory methods.
+ // Parameters:
+ // object: Pointer to a ObjectBase to register within the pack
+ void RegisterObject(ObjectBase *object);
+
private:
// Texture objects function as factories for RenderSurface objects.
// Constructed RenderSurfaces are registered with the pack associated with
@@ -405,13 +413,6 @@
virtual ~Pack();
- // Register the given object with the Pack. The pack will add a reference
- // to the object, guaranteeing its existence as long as the pack has not
- // been destroyed.
- // Parameters:
- // object: Pointer to a ObjectBase to register within the pack
- void RegisterObject(ObjectBase *object);
-
// Unregister a registered object from the pack. If this is the last reference
// to the object it will be destroyed.
// Parameters:
« no previous file with comments | « core/cross/class_manager.cc ('k') | plugin/idl/idl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698