Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Issue 771063002: Rename AppListMainViewTest::ContentsView to AppListMainViewTest::GetContentsView to fix build break (Closed)

Created:
6 years ago by vivekg_samsung
Modified:
4 years, 8 months ago
Reviewers:
vivekg, calamity, Matt Giuca
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Rename AppListMainViewTest::ContentsView to AppListMainViewTest::GetContentsView to avoid build failure The usage of unqualified ContentsView causes the build failure while using gcc 4.8 toolchain as below ui/app_list/views/app_list_main_view_unittest.cc:157:70: error: declaration of ‘app_list::ContentsView* app_list::test::{anonymous}::AppListMainViewTest::ContentsView()’ [-fpermissive] ContentsView* ContentsView() { return main_view_->contents_view(); } ^ In file included from ../../ui/app_list/views/app_list_main_view_unittest.cc:18:0: ui/app_list/views/contents_view.h:45:7: error: changes meaning of ‘ContentsView’ from ‘class app_list::ContentsView’ [-fpermissive] class APP_LIST_EXPORT ContentsView : public views::View, Committed: https://crrev.com/381fea549f67c655b991b77cefe2c468d81c754d Cr-Commit-Position: refs/heads/master@{#306360}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Renamed the method to contents_view() #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M ui/app_list/views/app_list_main_view_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
vivekg
PTAL, thanks!
6 years ago (2014-12-02 04:10:53 UTC) #2
Matt Giuca
https://codereview.chromium.org/771063002/diff/1/ui/app_list/views/app_list_main_view_unittest.cc File ui/app_list/views/app_list_main_view_unittest.cc (right): https://codereview.chromium.org/771063002/diff/1/ui/app_list/views/app_list_main_view_unittest.cc#newcode157 ui/app_list/views/app_list_main_view_unittest.cc:157: app_list::ContentsView* ContentsView() { return main_view_->contents_view(); } I'm not too ...
6 years ago (2014-12-02 04:33:37 UTC) #3
vivekg
On 2014/12/02 at 04:33:37, mgiuca wrote: > https://codereview.chromium.org/771063002/diff/1/ui/app_list/views/app_list_main_view_unittest.cc > File ui/app_list/views/app_list_main_view_unittest.cc (right): > > https://codereview.chromium.org/771063002/diff/1/ui/app_list/views/app_list_main_view_unittest.cc#newcode157 ...
6 years ago (2014-12-02 04:56:43 UTC) #4
vivekg
Uploaded a new patch, PTAL. Thanks!
6 years ago (2014-12-02 05:13:43 UTC) #5
Matt Giuca
https://codereview.chromium.org/771063002/diff/20001/ui/app_list/views/app_list_main_view_unittest.cc File ui/app_list/views/app_list_main_view_unittest.cc (right): https://codereview.chromium.org/771063002/diff/20001/ui/app_list/views/app_list_main_view_unittest.cc#newcode301 ui/app_list/views/app_list_main_view_unittest.cc:301: app_list::ContentsView* contents_view_ptr = contents_view(); I don't like the name ...
6 years ago (2014-12-02 06:13:18 UTC) #6
vivekg
On 2014/12/02 at 06:13:18, mgiuca wrote: > https://codereview.chromium.org/771063002/diff/20001/ui/app_list/views/app_list_main_view_unittest.cc > File ui/app_list/views/app_list_main_view_unittest.cc (right): > > https://codereview.chromium.org/771063002/diff/20001/ui/app_list/views/app_list_main_view_unittest.cc#newcode301 ...
6 years ago (2014-12-02 06:15:38 UTC) #7
Matt Giuca
lgtm, thanks!
6 years ago (2014-12-02 06:24:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/771063002/40001
6 years ago (2014-12-02 06:26:10 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-02 10:43:45 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-02 10:44:45 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/381fea549f67c655b991b77cefe2c468d81c754d
Cr-Commit-Position: refs/heads/master@{#306360}

Powered by Google App Engine
This is Rietveld 408576698