summaryrefslogtreecommitdiffstats
path: root/app/x11_util.cc
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 05:45:26 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 05:45:26 +0000
commit862066288bfa2871c36e3ab794fb7f6819a5cdfd (patch)
tree7edbca6eb7696507b772cf8c73ac7b549eec36d4 /app/x11_util.cc
parent639e99c45b2e5b476c58847153133a91f2aec164 (diff)
downloadchromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.zip
chromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.tar.gz
chromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.tar.bz2
Commiting http://codereview.chromium.org/2017007/show on behalf of rkc@chromium.org.
This change hooks issue report dialog with Google Feedback backend for ChromeOS. The dialog is going to be used only for Chrome OS at the moment, the previous mechanism is kept intact for other operating systems. Image and System Info reporting is disabled at the moment; for image, we need feedback to get their changes in production, for reporting, the system scripts need to be added (basic Chrome and OS version info is being sent with the report) BUG=chromium-os:2761 TEST=none, work in progress TBR=zelidrag Review URL: http://codereview.chromium.org/2068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/x11_util.cc')
-rw-r--r--app/x11_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/x11_util.cc b/app/x11_util.cc
index edf5f2f..78e09fc 100644
--- a/app/x11_util.cc
+++ b/app/x11_util.cc
@@ -736,7 +736,7 @@ void GrabWindowSnapshot(GtkWindow* gtk_window,
Display* display = GDK_WINDOW_XDISPLAY(gdk_window);
XID win = GDK_WINDOW_XID(gdk_window);
XWindowAttributes attr;
- if (XGetWindowAttributes(display, win, &attr) != 0) {
+ if (XGetWindowAttributes(display, win, &attr) == 0) {
LOG(ERROR) << "Couldn't get window attributes";
return;
}