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

Issue 7244: Linux build fixes for webframe_imple.cc (Closed)

Created:
12 years, 2 months ago by icefox::TorchMobile
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
Visibility:
Public.

Description

Fix compiler warnings Implement copy constructor for the bitmap there is no operator= for the rect, use the set functions

Patch Set 1 #

Patch Set 2 : Linux build fixes for webframe_imple.cc #

Patch Set 3 : Linux build fixes for webframe_imple.cc #

Patch Set 4 : Linux build fixes for webframe_imple.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -31 lines) Patch
M base/gfx/bitmap_platform_device_linux.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/gfx/bitmap_platform_device_linux.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M base/gfx/rect.h View 3 chunks +6 lines, -0 lines 0 comments Download
M base/gfx/rect.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 1 2 3 8 chunks +22 lines, -31 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Evan Martin
+Brett to comment on copy constructors in graphics code. http://codereview.chromium.org/7244/diff/1/3 File base/gfx/bitmap_platform_device_linux.h (right): http://codereview.chromium.org/7244/diff/1/3#newcode27 Line ...
12 years, 2 months ago (2008-10-13 16:59:58 UTC) #1
icefox::TorchMobile
http://codereview.chromium.org/7244/diff/1/4 File webkit/glue/webframe_impl.cc (right): http://codereview.chromium.org/7244/diff/1/4#newcode1532 Line 1532: frameview()->height(), true); On 2008/10/13 16:59:58, Evan Martin wrote: ...
12 years, 2 months ago (2008-10-13 17:19:39 UTC) #2
Evan Martin
http://codereview.chromium.org/7244/diff/1/4 File webkit/glue/webframe_impl.cc (right): http://codereview.chromium.org/7244/diff/1/4#newcode1532 Line 1532: frameview()->height(), true); On 2008/10/13 17:19:39, icefox::TorchMobile wrote: > ...
12 years, 2 months ago (2008-10-13 17:36:56 UTC) #3
icefox::TorchMobile
On 2008/10/13 17:36:56, Evan Martin wrote: > http://codereview.chromium.org/7244/diff/1/4 > File webkit/glue/webframe_impl.cc (right): > > http://codereview.chromium.org/7244/diff/1/4#newcode1532 ...
12 years, 2 months ago (2008-10-13 18:29:25 UTC) #4
brettw
http://codereview.chromium.org/7244/diff/7/8 File base/gfx/bitmap_platform_device_linux.cc (right): http://codereview.chromium.org/7244/diff/7/8#newcode41 Line 41: BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux(const BitmapPlatformDeviceLinux& other) 80 cols? http://codereview.chromium.org/7244/diff/7/10 File webkit/glue/webframe_impl.cc ...
12 years, 2 months ago (2008-10-13 23:17:40 UTC) #5
icefox::TorchMobile
Uploaded a new patch and commented on the comments.
12 years, 2 months ago (2008-10-14 15:38:44 UTC) #6
icefox::TorchMobile
http://codereview.chromium.org/7244/diff/7/8 File base/gfx/bitmap_platform_device_linux.cc (right): http://codereview.chromium.org/7244/diff/7/8#newcode41 Line 41: BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux(const BitmapPlatformDeviceLinux& other) On 2008/10/13 23:17:40, brettw wrote: ...
12 years, 2 months ago (2008-10-14 15:39:54 UTC) #7
brettw
> On Linux I think we are using a GdkRectangle so we > could add ...
12 years, 2 months ago (2008-10-14 15:56:19 UTC) #8
icefox::TorchMobile
On 2008/10/14 15:56:19, brettw wrote: > > On Linux I think we are using a ...
12 years, 2 months ago (2008-10-14 20:34:31 UTC) #9
icefox::TorchMobile
12 years, 2 months ago (2008-10-15 20:04:13 UTC) #10
On 2008/10/14 20:34:31, icefox::TorchMobile wrote:
> On 2008/10/14 15:56:19, brettw wrote:
> > > On Linux I think we are using a GdkRectangle so we
> > > could add support for that to gfx::Rect
> > 
> > If the other platforms have this, we should add it for Gdk as well. I feel
> like
> > we do this in other places, so it will be less pain to make it work like
> > everybody else.
> 
> I have added the functions to gfx/rect and changed that bit of code back.
> 
> > http://codereview.chromium.org/7244/diff/210/16
> > File base/gfx/bitmap_platform_device_linux.h (right):
> > 
> > http://codereview.chromium.org/7244/diff/210/16#newcode27
> > Line 27: BitmapPlatformDeviceLinux(const BitmapPlatformDeviceLinux& other);
> > Is this copy constructor necessary? Where is it required?
> 
> In the return statement.
> 
> > http://codereview.chromium.org/7244/diff/210/17
> > File webkit/glue/webframe_impl.cc (right):
> > 
> > http://codereview.chromium.org/7244/diff/210/17#newcode1500
> > Line 1500: frameview()->height(), true);
> > Can you align this with the previous "frameview" after the (
> 
> Done
> 
> > Thanks for cleaning this function up.
> 
> No problem

Closing as Tony's patch went in already.

Powered by Google App Engine
This is Rietveld 408576698