summaryrefslogtreecommitdiffstats
path: root/cc/resources/resource_update_controller.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 08:01:40 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 08:01:40 +0000
commit257b1a074158f98f2f26636bd5a9d1a1c0463724 (patch)
treeeff64944653df52e2e333c8d7fc1239d8478edbc /cc/resources/resource_update_controller.cc
parent60049c0c48741d86f174f3f60b931dda9c6f16c5 (diff)
downloadchromium_src-257b1a074158f98f2f26636bd5a9d1a1c0463724.zip
chromium_src-257b1a074158f98f2f26636bd5a9d1a1c0463724.tar.gz
chromium_src-257b1a074158f98f2f26636bd5a9d1a1c0463724.tar.bz2
cc: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 Review URL: https://chromiumcodereview.appspot.com/13998033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/resource_update_controller.cc')
-rw-r--r--cc/resources/resource_update_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/resource_update_controller.cc b/cc/resources/resource_update_controller.cc
index 3936b4d..5e0a26c 100644
--- a/cc/resources/resource_update_controller.cc
+++ b/cc/resources/resource_update_controller.cc
@@ -75,7 +75,7 @@ ResourceUpdateController::ResourceUpdateController(
texture_updates_per_tick_(MaxFullUpdatesPerTick(resource_provider)),
first_update_attempt_(true),
thread_(thread),
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
+ weak_factory_(this),
task_posted_(false) {}
ResourceUpdateController::~ResourceUpdateController() {}