summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 16:39:07 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 16:39:07 +0000
commitc8f013798926e7095405b23f125a5647056e4462 (patch)
tree4696e55470320c6bd5aa503ec36911f2ed1e94c7
parentd7546c4042bb93eb0be113debc9678b3ac7045c7 (diff)
downloadchromium_src-c8f013798926e7095405b23f125a5647056e4462.zip
chromium_src-c8f013798926e7095405b23f125a5647056e4462.tar.gz
chromium_src-c8f013798926e7095405b23f125a5647056e4462.tar.bz2
Add a const cast.
Review URL: http://codereview.chromium.org/62172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13427 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index d1f49b7..9496956 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -30,7 +30,8 @@ const int kMaxCharsOnAButton = 15;
// Our custom draging type for bookmarks.
static GtkTargetEntry target_table[] = {
- { "application/x-bookmark-toolbar-item", GTK_TARGET_SAME_APP, 0 }
+ { const_cast<char*>("application/x-bookmark-toolbar-item"),
+ GTK_TARGET_SAME_APP, 0 }
};
} // namespace