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

Issue 3086011: Fix debug build GTK assert in TabContentsDragSource::OnDragBegin(). (Closed)

Created:
10 years, 4 months ago by dcheng
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin, Evan Stade
CC:
chromium-reviews, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Fix debug build GTK assert in TabContentsDragSource::OnDragBegin(). The assert is: Gtk: gtk_widget_set_colormap: assertion `!gtk_widget_get_realized (widget)' failed. BUG=none TEST=Navigate to google.com and drag the logo twice. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54851

Patch Set 1 #

Patch Set 2 : Uncomment the line... #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M chrome/browser/gtk/tab_contents_drag_source.cc View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dcheng
I'm not sure if this is the proper fix, since I'm not familiar with GTK.
10 years, 4 months ago (2010-08-03 21:18:33 UTC) #1
Evan Martin
On 2010/08/03 21:18:33, dcheng wrote: > I'm not sure if this is the proper fix, ...
10 years, 4 months ago (2010-08-03 21:22:30 UTC) #2
dcheng
[28661:28661:435700960538:FATAL:chrome/app/chrome_dll_main.cc(251)] Gtk: gtk_widget_set_colormap: assertion `!gtk_widget_get_realized (widget)' failed Backtrace: StackTrace::StackTrace() [0x1a5d6a6] logging::LogMessage::~LogMessage() [0x1a74979] (anonymous namespace)::GLibLogHandler() [0xf659fe] ...
10 years, 4 months ago (2010-08-03 21:28:07 UTC) #3
Evan Stade
http://codereview.chromium.org/3086011/diff/2001/3001 File chrome/browser/gtk/tab_contents_drag_source.cc (right): http://codereview.chromium.org/3086011/diff/2001/3001#newcode322 chrome/browser/gtk/tab_contents_drag_source.cc:322: GdkScreen* screen = gtk_widget_get_screen(drag_icon_); I think I'd just wrap ...
10 years, 4 months ago (2010-08-03 21:39:48 UTC) #4
dcheng
http://codereview.chromium.org/3086011/diff/2001/3001 File chrome/browser/gtk/tab_contents_drag_source.cc (right): http://codereview.chromium.org/3086011/diff/2001/3001#newcode322 chrome/browser/gtk/tab_contents_drag_source.cc:322: GdkScreen* screen = gtk_widget_get_screen(drag_icon_); On 2010/08/03 21:39:48, Evan Stade ...
10 years, 4 months ago (2010-08-03 21:59:04 UTC) #5
Evan Stade
10 years, 4 months ago (2010-08-03 22:00:22 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698