summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/accessibility_event_router_gtk.cc
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-01-07 14:18:56 +0000
committerBen Murdoch <benm@google.com>2011-01-11 10:23:13 +0000
commit201ade2fbba22bfb27ae029f4d23fca6ded109a0 (patch)
treeb793f4ed916f73cf18357ea467ff3deb5ffb5b52 /chrome/browser/gtk/accessibility_event_router_gtk.cc
parentd8c4c37a7d0961944bfdfaa117d5c68c8e129c97 (diff)
downloadexternal_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.zip
external_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.tar.gz
external_chromium-201ade2fbba22bfb27ae029f4d23fca6ded109a0.tar.bz2
Merge chromium at 9.0.597.55: Initial merge by git.
Change-Id: Id686a88437441ec7e17abb3328a404c7b6c3c6ad
Diffstat (limited to 'chrome/browser/gtk/accessibility_event_router_gtk.cc')
-rw-r--r--chrome/browser/gtk/accessibility_event_router_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/accessibility_event_router_gtk.cc b/chrome/browser/gtk/accessibility_event_router_gtk.cc
index 0de0f91..fade7eb 100644
--- a/chrome/browser/gtk/accessibility_event_router_gtk.cc
+++ b/chrome/browser/gtk/accessibility_event_router_gtk.cc
@@ -219,10 +219,10 @@ void AccessibilityEventRouterGtk::InstallEventListener(
bool AccessibilityEventRouterGtk::IsPassword(GtkWidget* widget) {
bool is_password = false;
#if defined (TOOLKIT_VIEWS)
- is_password = (GTK_IS_ENTRY(widget) &&
+ is_password = (GTK_IS_VIEWS_ENTRY(widget) &&
GTK_VIEWS_ENTRY(widget)->host != NULL &&
GTK_VIEWS_ENTRY(widget)->host->IsPassword()) ||
- (GTK_IS_TEXT_VIEW(widget) &&
+ (GTK_IS_VIEWS_TEXTVIEW(widget) &&
GTK_VIEWS_TEXTVIEW(widget)->host != NULL &&
GTK_VIEWS_TEXTVIEW(widget)->host->IsPassword());
#endif