summaryrefslogtreecommitdiffstats
path: root/views/controls/table/native_table_gtk.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-14 05:34:18 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-14 05:34:18 +0000
commitcaa55f3e114021dccc1935ed6fbac6247dca3eb7 (patch)
treee3b0329230db60169b04c705d79f43f096057aab /views/controls/table/native_table_gtk.cc
parent4cc5a8747adf8327ba0df645237c1d5f52690caf (diff)
downloadchromium_src-caa55f3e114021dccc1935ed6fbac6247dca3eb7.zip
chromium_src-caa55f3e114021dccc1935ed6fbac6247dca3eb7.tar.gz
chromium_src-caa55f3e114021dccc1935ed6fbac6247dca3eb7.tar.bz2
chromeos: string_util.h -> utf_string_conversions.h fix.
BUG=none TEST=none Review URL: http://codereview.chromium.org/851010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/table/native_table_gtk.cc')
-rw-r--r--views/controls/table/native_table_gtk.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/views/controls/table/native_table_gtk.cc b/views/controls/table/native_table_gtk.cc
index ebacb22..ca8813b 100644
--- a/views/controls/table/native_table_gtk.cc
+++ b/views/controls/table/native_table_gtk.cc
@@ -1,11 +1,13 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in the
// LICENSE file.
#include "views/controls/table/native_table_gtk.h"
+#include <string>
+
#include "app/gfx/gtk_util.h"
-#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/controls/table/table_view2.h"
#include "views/controls/table/table_view_observer.h"
@@ -270,8 +272,8 @@ void NativeTableGtk::InsertIconAndTextColumn(const TableColumn& column,
int index) {
// If necessary we could support more than 1 icon and text column and we could
// make it so it does not have to be the 1st column.
- DCHECK(index == 0) << "The icon and text column can only be the first column "
- "at this point.";
+ DCHECK_EQ(0, index) << "The icon and text column can only be the first column"
+ " at this point.";
GtkTreeViewColumn* gtk_column = gtk_tree_view_column_new();
gtk_tree_view_column_set_title(gtk_column, WideToUTF8(column.title).c_str());