summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/util
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-03 21:08:46 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-03 21:08:46 +0000
commitb76e968f82646174d2014d1e7a367da80a15c778 (patch)
tree2401910f79540b9f79b3990e010a19bcd524c258 /sync/internal_api/public/util
parent84e17ad74c29ec0c00ef4fd0bdb557c8aa421b99 (diff)
downloadchromium_src-b76e968f82646174d2014d1e7a367da80a15c778.zip
chromium_src-b76e968f82646174d2014d1e7a367da80a15c778.tar.gz
chromium_src-b76e968f82646174d2014d1e7a367da80a15c778.tar.bz2
Update sync::WeakHandle to use WeakPtr<T>::get()
This wasn't caught by the automated pass. BUG=245942 R=rlarocque@chromium.org Review URL: https://codereview.chromium.org/16295016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/util')
-rw-r--r--sync/internal_api/public/util/weak_handle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sync/internal_api/public/util/weak_handle.h b/sync/internal_api/public/util/weak_handle.h
index 57a44bd..c299be7 100644
--- a/sync/internal_api/public/util/weak_handle.h
+++ b/sync/internal_api/public/util/weak_handle.h
@@ -211,7 +211,7 @@ class WeakHandleCore
if (!Get()) {
return;
}
- (Get()->*fn)();
+ (Get().get()->*fn)();
}
template <typename U, typename A1>
@@ -221,7 +221,7 @@ class WeakHandleCore
if (!Get()) {
return;
}
- (Get()->*fn)(a1);
+ (Get().get()->*fn)(a1);
}
template <typename U, typename A1, typename A2>
@@ -232,7 +232,7 @@ class WeakHandleCore
if (!Get()) {
return;
}
- (Get()->*fn)(a1, a2);
+ (Get().get()->*fn)(a1, a2);
}
template <typename U, typename A1, typename A2, typename A3>
@@ -244,7 +244,7 @@ class WeakHandleCore
if (!Get()) {
return;
}
- (Get()->*fn)(a1, a2, a3);
+ (Get().get()->*fn)(a1, a2, a3);
}
template <typename U, typename A1, typename A2, typename A3, typename A4>
@@ -257,7 +257,7 @@ class WeakHandleCore
if (!Get()) {
return;
}
- (Get()->*fn)(a1, a2, a3, a4);
+ (Get().get()->*fn)(a1, a2, a3, a4);
}
// Must be dereferenced only on the owner thread. May be destroyed