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

Issue 8220: Own the GLib poll FD; it should not be on the stack. (Closed)

Created:
12 years, 1 month ago by dsh
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, evanm, Evan Martin
CC:
chromium-reviews_googlegroups.com, dsh
Visibility:
Public.

Description

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M base/message_pump_glib.h View 1 chunk +2 lines, -0 lines 1 comment Download
M base/message_pump_glib.cc View 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dsh
GLib does not make a copy of the PollFD struct, so it should not be ...
12 years, 1 month ago (2008-11-04 20:48:26 UTC) #1
Mark Mentovai
LGTM
12 years, 1 month ago (2008-11-04 21:23:12 UTC) #2
Evan Martin
12 years, 1 month ago (2008-11-04 21:25:57 UTC) #3
LGTM, minor suggestions for you to consider

http://codereview.chromium.org/8220/diff/1/2
File base/message_pump_glib.h (right):

http://codereview.chromium.org/8220/diff/1/2#newcode95
Line 95: GPollFD* work_source_poll_info_;
could it be a scoped_ptr?
not sure that "info" adds much description to the name.  could just stuff "fd"
in there in place of info...

Powered by Google App Engine
This is Rietveld 408576698