Index: components/bookmarks/core/browser/bookmark_node_data.cc |
diff --git a/chrome/browser/bookmarks/bookmark_node_data.cc b/components/bookmarks/core/browser/bookmark_node_data.cc |
similarity index 97% |
rename from chrome/browser/bookmarks/bookmark_node_data.cc |
rename to components/bookmarks/core/browser/bookmark_node_data.cc |
index 8da095ef316ea3df79b4e15224830ec13c85c8e8..5bdf36400bf9da3af5faa9b4d1f5417911a8af2e 100644 |
--- a/chrome/browser/bookmarks/bookmark_node_data.cc |
+++ b/components/bookmarks/core/browser/bookmark_node_data.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/bookmarks/bookmark_node_data.h" |
+#include "components/bookmarks/core/browser/bookmark_node_data.h" |
#include <string> |
@@ -10,7 +10,7 @@ |
#include "base/pickle.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "chrome/browser/bookmarks/bookmark_utils.h" |
+#include "components/bookmarks/core/browser/bookmark_utils.h" |
#include "ui/base/clipboard/scoped_clipboard_writer.h" |
const char* BookmarkNodeData::kClipboardFormatString = |
@@ -191,7 +191,7 @@ bool BookmarkNodeData::ReadFromClipboard(ui::ClipboardType type) { |
&data); |
if (!data.empty()) { |
- Pickle pickle(data.data(), data.size()); |
+ Pickle pickle(data.data(), static_cast<int>(data.size())); |
if (ReadFromPickle(&pickle)) |
return true; |
} |