summaryrefslogtreecommitdiffstats
path: root/athena/util/fill_layout_manager.cc
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2015-01-06 16:18:25 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-07 00:19:33 +0000
commit3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25 (patch)
treeb8830e9ed9317db8bfcd9c92e835664f513cd76a /athena/util/fill_layout_manager.cc
parent774d92b9ab2d08b34dde434b06f00b472de175b7 (diff)
downloadchromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.zip
chromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.tar.gz
chromium_src-3d8840e01a5c8fbe45b492ce29c9eb34d17eeb25.tar.bz2
Use template specialization to generate WindowProperty code.
They used to be a inlined function in the header, which led to code generation when method is used. This changes the code generation only in DECLARE_WINDOW_PROPERTY_TYPE(). BUG=None R=sadrul@chromium.org Committed: https://crrev.com/f62e152bb7a13135a597d9766eb79551d3a24a73 Cr-Commit-Position: refs/heads/master@{#309252} Review URL: https://codereview.chromium.org/801953002 Cr-Commit-Position: refs/heads/master@{#310179}
Diffstat (limited to 'athena/util/fill_layout_manager.cc')
-rw-r--r--athena/util/fill_layout_manager.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/athena/util/fill_layout_manager.cc b/athena/util/fill_layout_manager.cc
index 2a3eb22..2fe7722 100644
--- a/athena/util/fill_layout_manager.cc
+++ b/athena/util/fill_layout_manager.cc
@@ -8,9 +8,6 @@
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
-// This is to avoid creating type definitoin for kAlwaysFillWindowKey.
-DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ATHENA_EXPORT, bool);
-
namespace athena {
namespace {