summaryrefslogtreecommitdiffstats
path: root/views/bubble
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-19 19:40:40 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-19 19:40:40 +0000
commit78fe0a5b706688c50d432b89a9898473acf5a565 (patch)
tree3a68339451b70cc23be5435c2f9ccce829be6717 /views/bubble
parentf5a73e0706b4cdaab833aedccd47b5843449e916 (diff)
downloadchromium_src-78fe0a5b706688c50d432b89a9898473acf5a565.zip
chromium_src-78fe0a5b706688c50d432b89a9898473acf5a565.tar.gz
chromium_src-78fe0a5b706688c50d432b89a9898473acf5a565.tar.bz2
Fix build on Linux where warning for unused vars are treated as errors.
TBR=ben@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7941013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/bubble')
-rw-r--r--views/bubble/bubble_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/bubble/bubble_view.cc b/views/bubble/bubble_view.cc
index b4f6789..9afe707 100644
--- a/views/bubble/bubble_view.cc
+++ b/views/bubble/bubble_view.cc
@@ -118,6 +118,7 @@ void BubbleView::AnimationProgressed(const ui::Animation* animation) {
NOTIMPLEMENTED();
// TODO: probably a good idea to make this a Widget API method rather than
// directly manipulating the native widget here.
+ (void) opacity;
#elif defined(OS_WIN)
SetLayeredWindowAttributes(GetWidget()->GetNativeView(), 0,
static_cast<byte>(opacity), LWA_ALPHA);