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

Unified Diff: base/message_pump_glib_unittest.cc

Issue 9969080: Remove TOOLKIT_USES_GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add gtk dependency to android linux host Created 8 years, 9 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 | « base/message_loop.cc ('k') | base/nix/mime_util_xdg.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_glib_unittest.cc
diff --git a/base/message_pump_glib_unittest.cc b/base/message_pump_glib_unittest.cc
index 550c0e707828a6a8ca1087d29aa2f06fa5b7d250..f3df0128a67df23872290ce86e539078d23b8282 100644
--- a/base/message_pump_glib_unittest.cc
+++ b/base/message_pump_glib_unittest.cc
@@ -17,7 +17,7 @@
#include "base/threading/thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
#include <gtk/gtk.h>
#endif
@@ -407,7 +407,7 @@ TEST_F(MessagePumpGLibTest, TestDrainingGLib) {
namespace {
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
void AddEventsAndDrainGtk(EventInjector* injector) {
// Add a couple of dummy events
injector->AddDummyEvent(0);
@@ -428,7 +428,7 @@ void AddEventsAndDrainGtk(EventInjector* injector) {
} // namespace
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
TEST_F(MessagePumpGLibTest, TestDrainingGtk) {
// Tests that draining events using Gtk works.
loop()->PostTask(
@@ -454,7 +454,7 @@ class GLibLoopRunner : public base::RefCounted<GLibLoopRunner> {
}
void RunLoop() {
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
while (!quit_) {
gtk_main_iteration();
}
« no previous file with comments | « base/message_loop.cc ('k') | base/nix/mime_util_xdg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698