summaryrefslogtreecommitdiffstats
path: root/chrome/common/property_bag.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 03:32:24 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 03:32:24 +0000
commitc9b52d1d7faa57c4f904848ba336b67f760c6347 (patch)
tree6aa112940d082a8a1d6b5db5783ddec08636aa1a /chrome/common/property_bag.h
parent38ab666519e4b04f806819b9ab3ba6fd1c6965cc (diff)
downloadchromium_src-c9b52d1d7faa57c4f904848ba336b67f760c6347.zip
chromium_src-c9b52d1d7faa57c4f904848ba336b67f760c6347.tar.gz
chromium_src-c9b52d1d7faa57c4f904848ba336b67f760c6347.tar.bz2
Fox more gcc template errors.
Review URL: http://codereview.chromium.org/13699 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/property_bag.h')
-rw-r--r--chrome/common/property_bag.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/property_bag.h b/chrome/common/property_bag.h
index e2f44d9..f8817434 100644
--- a/chrome/common/property_bag.h
+++ b/chrome/common/property_bag.h
@@ -129,7 +129,7 @@ class PropertyAccessor : public PropertyAccessorBase {
// Takes ownership of the |prop| pointer.
void SetProperty(PropertyBag* bag, const T& prop) {
- SetPropertyInternal(bag, new Container<T>(prop));
+ SetPropertyInternal(bag, new Container(prop));
}
// Returns our property in the given bag or NULL if there is no match. The
@@ -138,7 +138,7 @@ class PropertyAccessor : public PropertyAccessorBase {
PropertyBag::Prop* prop = GetPropertyInternal(bag);
if (!prop)
return NULL;
- return static_cast< Container<T>* >(prop)->get();
+ return static_cast< Container* >(prop)->get();
}
// See also DeleteProperty on thn PropertyAccessorBase.
@@ -152,7 +152,7 @@ class PropertyAccessor : public PropertyAccessorBase {
private:
virtual Prop* copy() {
- return new Container<T>(data_);
+ return new Container(data_);
}
T data_;