Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
authorEli Friedman <sharparrow1@yahoo.com>
Sun, 05 Dec 2010 13:24:21 +0000
changeset 58632 20441229d0a7be4a7b4bf8b038f0f48b9e9164b6
parent 58631 8c3e817ba0349b854dc7e66dab7e2fd97ebb9caf
child 58633 a49bc63fe3d0938b68b841274d9416baf84313f2
push id17389
push userjwatt@jwatt.org
push dateSun, 05 Dec 2010 14:31:57 +0000
treeherdermozilla-central@20441229d0a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbenjamin, benjamin
bugs579788
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
ipc/chromium/src/base/task.h
--- a/ipc/chromium/src/base/task.h
+++ b/ipc/chromium/src/base/task.h
@@ -291,17 +291,17 @@ struct RunnableMethodTraits {
 // RunnableMethod and NewRunnableMethod implementation -------------------------
 
 template <class T, class Method, class Params>
 class RunnableMethod : public CancelableTask,
                        public RunnableMethodTraits<T> {
  public:
   RunnableMethod(T* obj, Method meth, const Params& params)
       : obj_(obj), meth_(meth), params_(params) {
-    RetainCallee(obj_);
+    this->RetainCallee(obj_);
   }
   ~RunnableMethod() {
     ReleaseCallee();
   }
 
   virtual void Run() {
     if (obj_)
       DispatchToMethod(obj_, meth_, params_);