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

Unified Diff: content/child/webblobregistry_impl.cc

Issue 1544273002: Switch to standard integer types in content/. (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/child/webblobregistry_impl.h ('k') | content/child/webfallbackthemeengine_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webblobregistry_impl.cc
diff --git a/content/child/webblobregistry_impl.cc b/content/child/webblobregistry_impl.cc
index 1967c7b151a0e551cf6d0cddb17c1ff5ef0567aa..ecdc0fcf4b9051c100bcf2629239c1b0c3b79db6 100644
--- a/content/child/webblobregistry_impl.cc
+++ b/content/child/webblobregistry_impl.cc
@@ -85,8 +85,8 @@ void WebBlobRegistryImpl::registerBlobData(const blink::WebString& uuid,
// We only support filesystem URL as of now.
DCHECK(GURL(data_item.fileSystemURL).SchemeIsFileSystem());
builder->appendFileSystemURL(data_item.fileSystemURL,
- static_cast<uint64>(data_item.offset),
- static_cast<uint64>(data_item.length),
+ static_cast<uint64_t>(data_item.offset),
+ static_cast<uint64_t>(data_item.length),
data_item.expectedModificationTime);
break;
default:
@@ -238,7 +238,7 @@ void WebBlobRegistryImpl::BuilderImpl::build() {
// object is the only item in the 'blob'. If we use that file blob to
// create another blob, it is sent here as a 'file' item and not a blob,
// and the correct size is populated.
- // static_cast<uint64>(-1) == kuint64max, which is what DataElement uses
+ // static_cast<uint64_t>(-1) == kuint64max, which is what DataElement uses
// to specificy "use the whole file".
switch (item.type) {
case DataElement::TYPE_BYTES:
« no previous file with comments | « content/child/webblobregistry_impl.h ('k') | content/child/webfallbackthemeengine_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698