summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_manager_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 21:27:06 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 21:27:06 +0000
commit2f86f03d7038367128577327845d17b42a2fdf08 (patch)
tree4d2432b5c6220de212a90c78e6d0011a7a820e8e /chrome/browser/gtk/bookmark_manager_gtk.h
parent009bac9dfb6ae322bfb3d7b957f29cfd4accfe3b (diff)
downloadchromium_src-2f86f03d7038367128577327845d17b42a2fdf08.zip
chromium_src-2f86f03d7038367128577327845d17b42a2fdf08.tar.gz
chromium_src-2f86f03d7038367128577327845d17b42a2fdf08.tar.bz2
GTK: Fix bookmark manager crash on startup introduced by r20565
TBR=munjal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20899 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_manager_gtk.h')
-rw-r--r--chrome/browser/gtk/bookmark_manager_gtk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.h b/chrome/browser/gtk/bookmark_manager_gtk.h
index 402e454..6bf1dd8 100644
--- a/chrome/browser/gtk/bookmark_manager_gtk.h
+++ b/chrome/browser/gtk/bookmark_manager_gtk.h
@@ -9,6 +9,7 @@
#include <vector>
#include "app/table_model_observer.h"
+#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "base/task.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -86,7 +87,7 @@ class BookmarkManagerGtk : public BookmarkModelObserver,
void BuildRightStore();
// Get the ID of the item at |iter|.
- int GetRowIDAt(GtkTreeModel* model, GtkTreeIter* iter);
+ int64 GetRowIDAt(GtkTreeModel* model, GtkTreeIter* iter);
// Get the node from |model| at |iter|. If the item is not a node, return
// NULL.
@@ -140,7 +141,7 @@ class BookmarkManagerGtk : public BookmarkModelObserver,
// Tries to find the node with id |target_id|. If found, returns true and set
// |iter| to point to the entry. If you pass a |iter| with stamp of 0, then it
// will be treated as the first row of |model|.
- bool RecursiveFind(GtkTreeModel* model, GtkTreeIter* iter, int target_id);
+ bool RecursiveFind(GtkTreeModel* model, GtkTreeIter* iter, int64 target_id);
// Search helpers.
void PerformSearch();