diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-15 22:08:02 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-15 22:08:02 +0000 |
commit | 30c1df52a9326644a693e340061229ba4a4d66c6 (patch) | |
tree | 85e1448f60b12862e4b19a7476ad82aefcfedc6c /ui | |
parent | dce552e834c696813f21cddbcdc2682e7acd945b (diff) | |
download | chromium_src-30c1df52a9326644a693e340061229ba4a4d66c6.zip chromium_src-30c1df52a9326644a693e340061229ba4a4d66c6.tar.gz chromium_src-30c1df52a9326644a693e340061229ba4a4d66c6.tar.bz2 |
Revert 173315
> gfx: The destructor of DisplayObserver does not need to be out-of-line.
>
> Just inline it in the header file is fine as we do already for many of our
> Delegates/Observers/Listeners.
>
> R=sky@chromium.org
>
> Review URL: https://codereview.chromium.org/11551004
TBR=tfarina@chromium.org
Review URL: https://codereview.chromium.org/11590003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gfx/display_observer.cc | 12 | ||||
-rw-r--r-- | ui/gfx/display_observer.h | 2 | ||||
-rw-r--r-- | ui/ui.gyp | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/ui/gfx/display_observer.cc b/ui/gfx/display_observer.cc new file mode 100644 index 0000000..f8e3c07 --- /dev/null +++ b/ui/gfx/display_observer.cc @@ -0,0 +1,12 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "ui/gfx/display_observer.h" + +namespace gfx { + +DisplayObserver::~DisplayObserver() { +} + +} // namespace gfx diff --git a/ui/gfx/display_observer.h b/ui/gfx/display_observer.h index c65f95d..85a4086 100644 --- a/ui/gfx/display_observer.h +++ b/ui/gfx/display_observer.h @@ -25,7 +25,7 @@ class UI_EXPORT DisplayObserver { virtual void OnDisplayRemoved(const Display& old_display) = 0; protected: - virtual ~DisplayObserver() {} + virtual ~DisplayObserver(); }; } // namespace gfx @@ -377,6 +377,7 @@ 'gfx/color_utils.h', 'gfx/display.cc', 'gfx/display.h', + 'gfx/display_observer.cc', 'gfx/display_observer.h', 'gfx/favicon_size.cc', 'gfx/favicon_size.h', |