Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: content/renderer/webclipboard_impl.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/webclipboard_impl.h ('k') | content/renderer/webpublicsuffixlist_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webclipboard_impl.cc
diff --git a/content/renderer/webclipboard_impl.cc b/content/renderer/webclipboard_impl.cc
index 19f2362b1c0609861dd60cbfa13eca479cc79488..8eca5a96c4d4db18afed11824baf3b855c9da002 100644
--- a/content/renderer/webclipboard_impl.cc
+++ b/content/renderer/webclipboard_impl.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
+#include "build/build_config.h"
#include "content/common/clipboard_format.h"
#include "content/public/common/drop_data.h"
#include "content/renderer/clipboard_utils.h"
@@ -39,7 +40,7 @@ WebClipboardImpl::WebClipboardImpl(RendererClipboardDelegate* delegate)
WebClipboardImpl::~WebClipboardImpl() {
}
-uint64 WebClipboardImpl::sequenceNumber(Buffer buffer) {
+uint64_t WebClipboardImpl::sequenceNumber(Buffer buffer) {
ui::ClipboardType clipboard_type;
if (!ConvertBufferType(buffer, &clipboard_type))
return 0;
@@ -103,8 +104,8 @@ WebString WebClipboardImpl::readHTML(Buffer buffer, WebURL* source_url,
base::string16 html_stdstr;
GURL gurl;
delegate_->ReadHTML(clipboard_type, &html_stdstr, &gurl,
- static_cast<uint32*>(fragment_start),
- static_cast<uint32*>(fragment_end));
+ static_cast<uint32_t*>(fragment_start),
+ static_cast<uint32_t*>(fragment_end));
*source_url = gurl;
return html_stdstr;
}
« no previous file with comments | « content/renderer/webclipboard_impl.h ('k') | content/renderer/webpublicsuffixlist_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698