summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 23:48:34 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 23:48:34 +0000
commit1ec5238a420ddad89d48d8aaca250152af07bbc7 (patch)
tree9983aa594f69bf2c627a53e969794fa9019134e8 /chrome
parent24fc6e459db3a93e3b4bbd4bfb18d5678e3f2ed9 (diff)
downloadchromium_src-1ec5238a420ddad89d48d8aaca250152af07bbc7.zip
chromium_src-1ec5238a420ddad89d48d8aaca250152af07bbc7.tar.gz
chromium_src-1ec5238a420ddad89d48d8aaca250152af07bbc7.tar.bz2
Change a dependency from clipboard_util.h to the more cross-platform clipboard.h
Review URL: http://codereview.chromium.org/7884 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index 09b2991..f04c9f6 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -7,7 +7,7 @@
#include <locale>
#include "base/base_drag_source.h"
-#include "base/clipboard_util.h"
+#include "base/clipboard.h"
#include "base/gfx/skia_utils.h"
#include "base/iat_patch.h"
#include "base/ref_counted.h"
@@ -2271,7 +2271,7 @@ std::wstring AutocompleteEditView::GetClipboardText() const {
// and pastes from the URL bar to itself, the text will get fixed up and
// cannonicalized, which is not what the user expects. By pasting in this
// order, we are sure to paste what the user copied.
- if (clipboard->IsFormatAvailable(ClipboardUtil::GetUrlWFormat()->cfFormat)) {
+ if (clipboard->IsFormatAvailable(Clipboard::GetUrlWFormatType())) {
std::string url_str;
clipboard->ReadBookmark(NULL, &url_str);
// pass resulting url string through GURL to normalize