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

Issue 195036: Use RECT instead of CRect to reduce dependencies on ATL. (Closed)

Created:
11 years, 3 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Use RECT instead of CRect to reduce dependencies on ATL. BUG=5027 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25780

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -44 lines) Patch
M chrome/browser/dock_info_win.cc View 6 chunks +12 lines, -16 lines 0 comments Download
M chrome/browser/window_sizer_win.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M views/controls/table/table_view.cc View 1 9 chunks +22 lines, -20 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
James Hawkins
11 years, 3 months ago (2009-09-09 02:45:06 UTC) #1
Peter Kasting
LGTM I guess, but I thought CRect was part of WTL (which is fine to ...
11 years, 3 months ago (2009-09-09 17:49:36 UTC) #2
Peter Kasting
Hmm, maybe not, MSDN claims it comes from atltypes.h, which is part of ATL... but ...
11 years, 3 months ago (2009-09-09 17:53:48 UTC) #3
James Hawkins
http://codereview.chromium.org/195036/diff/1/2 File views/controls/table/table_view.cc (right): http://codereview.chromium.org/195036/diff/1/2#newcode359 Line 359: DCHECK_EQ(all_columns_.count(col.id), 0); On 2009/09/09 17:49:36, Peter Kasting wrote: ...
11 years, 3 months ago (2009-09-09 19:30:20 UTC) #4
Peter Kasting
11 years, 3 months ago (2009-09-09 19:41:56 UTC) #5
On Wed, Sep 9, 2009 at 12:30 PM, <jhawkins@chromium.org> wrote:

> http://codereview.chromium.org/195036/diff/1/2#newcode359
> Line 359: DCHECK_EQ(all_columns_.count(col.id), 0);
> On 2009/09/09 17:49:36, Peter Kasting wrote:
>
>> Nit: Shouldn't the 0 be first here?
>>
>
> Done.  But I'm curious, why is that the precedent?


All the testing/logging macros whose arguments are commutative are
(expected, actual).  It affects how messages about their failure are dumped.

PK

Powered by Google App Engine
This is Rietveld 408576698