diff options
author | scottmg <scottmg@chromium.org> | 2014-09-09 06:14:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-09 13:20:23 +0000 |
commit | 4c2d33ac8c061cf27a594473d6f9a450ee6c3c89 (patch) | |
tree | 00b4cde80455a8faf2eee88a90447a1c8d7b9d7c /ash | |
parent | 6b30e882803f34879eaf0b17f7d15bb8b3cfddb1 (diff) | |
download | chromium_src-4c2d33ac8c061cf27a594473d6f9a450ee6c3c89.zip chromium_src-4c2d33ac8c061cf27a594473d6f9a450ee6c3c89.tar.gz chromium_src-4c2d33ac8c061cf27a594473d6f9a450ee6c3c89.tar.bz2 |
gn/linux: warnings as errors, turn on Wextra
Also remove a few redundant consts that result in warnings like:
../../content/common/cursors/webcursor_aurax11.cc:20:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers]
const ui::PlatformCursor WebCursor::GetPlatformCursor() {
^~~~~~
TBR=davemoore@chromium.org,sadrul@chromium.org
R=brettw@chromium.org, thakis@chromium.org,rch@chromium.org
BUG=393046, 335824
Review URL: https://codereview.chromium.org/538333002
Cr-Commit-Position: refs/heads/master@{#293930}
Diffstat (limited to 'ash')
-rw-r--r-- | ash/shelf/shelf_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shelf/shelf_view.h b/ash/shelf/shelf_view.h index b37cc3e..4a5868c 100644 --- a/ash/shelf/shelf_view.h +++ b/ash/shelf/shelf_view.h @@ -133,7 +133,7 @@ class ASH_EXPORT ShelfView : public views::View, virtual void EndDrag(bool cancel) OVERRIDE; // Return the view model for test purposes. - const views::ViewModel* const view_model_for_test() const { + const views::ViewModel* view_model_for_test() const { return view_model_.get(); } |