diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 06:31:54 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 06:31:54 +0000 |
commit | 7ff35caa401a18e0bd24f423953c07db915921c1 (patch) | |
tree | bd5191f49715a18e103ea8816397d8927809c6af /chromeos/display | |
parent | df798cbf439b0f8aa1dd0ce397db328fd76d208d (diff) | |
download | chromium_src-7ff35caa401a18e0bd24f423953c07db915921c1.zip chromium_src-7ff35caa401a18e0bd24f423953c07db915921c1.tar.gz chromium_src-7ff35caa401a18e0bd24f423953c07db915921c1.tar.bz2 |
chromeos: Fix OutputConfigurator::Delegate leak.
BUG=225536
Review URL: https://chromiumcodereview.appspot.com/13472020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/display')
-rw-r--r-- | chromeos/display/output_configurator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/display/output_configurator.h b/chromeos/display/output_configurator.h index 2937088..c59c076 100644 --- a/chromeos/display/output_configurator.h +++ b/chromeos/display/output_configurator.h @@ -272,7 +272,7 @@ class CHROMEOS_EXPORT OutputConfigurator : public MessageLoop::Dispatcher { const OutputConfigurator::OutputSnapshot* output); StateController* state_controller_; - Delegate* delegate_; + scoped_ptr<Delegate> delegate_; // This is detected by the constructor to determine whether or not we should // be enabled. If we aren't running on ChromeOS, we can't assume that the |