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

Issue 59193005: Fixes build breakage of non-Aura Windows. (Closed)

Created:
7 years, 1 month ago by Yuki
Modified:
7 years, 1 month ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixes build breakage of non-Aura Windows. Fixes the build breakage of non-Aura Windows caused by http://crrev.com/54353002 . BUG=315056 TEST=Done manually. TBR=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233073

Patch Set 1 #

Patch Set 2 : Fixed type mismatch. #

Patch Set 3 : Synced. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_win.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 1 3 chunks +6 lines, -3 lines 4 comments Download

Messages

Total messages: 11 (0 generated)
Yuki
Could you review this CL? Thanks.
7 years, 1 month ago (2013-11-05 13:46:22 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/59193005/20001
7 years, 1 month ago (2013-11-05 13:46:46 UTC) #2
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185050
7 years, 1 month ago (2013-11-05 15:47:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/59193005/20001
7 years, 1 month ago (2013-11-05 15:52:52 UTC) #4
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 16:12:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/59193005/290001
7 years, 1 month ago (2013-11-05 16:30:29 UTC) #6
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 16:51:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/59193005/290001
7 years, 1 month ago (2013-11-05 17:22:54 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/59193005/diff/290001/chrome/browser/ui/views/omnibox/omnibox_view_win.cc File chrome/browser/ui/views/omnibox/omnibox_view_win.cc (right): https://codereview.chromium.org/59193005/diff/290001/chrome/browser/ui/views/omnibox/omnibox_view_win.cc#newcode526 chrome/browser/ui/views/omnibox/omnibox_view_win.cc:526: font_y_adjustment_ = std::max(0, Nit: All lines of args ...
7 years, 1 month ago (2013-11-05 19:22:39 UTC) #9
commit-bot: I haz the power
Change committed as 233073
7 years, 1 month ago (2013-11-05 20:33:43 UTC) #10
Yuki
7 years, 1 month ago (2013-11-06 05:35:09 UTC) #11
Message was sent while issue was closed.
Since this CL has already been committed by TBR, I'll send another CL to address
your comments.

https://codereview.chromium.org/59513006/

https://codereview.chromium.org/59193005/diff/290001/chrome/browser/ui/views/...
File chrome/browser/ui/views/omnibox/omnibox_view_win.cc (right):

https://codereview.chromium.org/59193005/diff/290001/chrome/browser/ui/views/...
chrome/browser/ui/views/omnibox/omnibox_view_win.cc:526: font_y_adjustment_ =
std::max(0,
On 2013/11/05 19:22:39, Peter Kasting wrote:
> Nit: All lines of args to a function call should begin at the same
> indentation... so move "0," to next line

Done.

https://codereview.chromium.org/59193005/diff/290001/chrome/browser/ui/views/...
chrome/browser/ui/views/omnibox/omnibox_view_win.cc:527: int((location_height -
cap_height) / 2 - tm.tmInternalLeading));
On 2013/11/05 19:22:39, Peter Kasting wrote:
> Why is the int cast needed here?  I don't think the compiler should complain
> about (int - long).  If it does, use a static_cast<>.

Done.

A template function std::max(T, T) requires the same type.  So we need to cast
one of them.

Powered by Google App Engine
This is Rietveld 408576698