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

Unified Diff: views/widget/drop_target_gtk.cc

Issue 199025: Fix some gcc 4.4 issues when compiling with toolkit_views. (Closed)
Patch Set: Remove CreateFindBar, use COMPILER_GCC and add comments. Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/button/custom_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/drop_target_gtk.cc
diff --git a/views/widget/drop_target_gtk.cc b/views/widget/drop_target_gtk.cc
index d262e3e5a7f999113941e3c488fe6f2792c80b88..2947e63468d79c5d717a1980e8be41966b16cdbe 100644
--- a/views/widget/drop_target_gtk.cc
+++ b/views/widget/drop_target_gtk.cc
@@ -302,7 +302,7 @@ void DropTargetGtk::RequestFormats(GdkDragContext* context,
requested_formats_ |= OSExchangeData::FILE_CONTENTS;
NOTIMPLEMENTED();
}
- if ((formats & OSExchangeData::FILE_NAME != 0) &&
+ if (((formats & OSExchangeData::FILE_NAME) != 0) &&
(requested_formats_ & OSExchangeData::FILE_NAME) == 0) {
requested_formats_ |= OSExchangeData::FILE_NAME;
NOTIMPLEMENTED();
« no previous file with comments | « views/controls/button/custom_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698