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

Side by Side Diff: components/bitmap_uploader/bitmap_uploader.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/bitmap_uploader/bitmap_uploader.h" 5 #include "components/bitmap_uploader/bitmap_uploader.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "components/mus/public/cpp/window.h" 11 #include "components/mus/public/cpp/window.h"
10 #include "components/mus/public/cpp/window_surface.h" 12 #include "components/mus/public/cpp/window_surface.h"
11 #include "mojo/application/public/cpp/application_impl.h" 13 #include "mojo/application/public/cpp/application_impl.h"
12 #include "mojo/application/public/cpp/connect.h" 14 #include "mojo/application/public/cpp/connect.h"
13 #include "mojo/application/public/interfaces/shell.mojom.h" 15 #include "mojo/application/public/interfaces/shell.mojom.h"
14 #include "mojo/converters/geometry/geometry_type_converters.h" 16 #include "mojo/converters/geometry/geometry_type_converters.h"
15 #include "mojo/converters/surfaces/surfaces_type_converters.h" 17 #include "mojo/converters/surfaces/surfaces_type_converters.h"
16 #include "mojo/converters/surfaces/surfaces_utils.h" 18 #include "mojo/converters/surfaces/surfaces_utils.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 glWaitSyncTokenCHROMIUM( 255 glWaitSyncTokenCHROMIUM(
254 resource->sync_token.To<gpu::SyncToken>().GetConstData()); 256 resource->sync_token.To<gpu::SyncToken>().GetConstData());
255 uint32_t texture_id = resource_to_texture_id_map_[resource->id]; 257 uint32_t texture_id = resource_to_texture_id_map_[resource->id];
256 DCHECK_NE(0u, texture_id); 258 DCHECK_NE(0u, texture_id);
257 resource_to_texture_id_map_.erase(resource->id); 259 resource_to_texture_id_map_.erase(resource->id);
258 glDeleteTextures(1, &texture_id); 260 glDeleteTextures(1, &texture_id);
259 } 261 }
260 } 262 }
261 263
262 } // namespace bitmap_uploader 264 } // namespace bitmap_uploader
OLDNEW
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.h ('k') | components/bookmarks/browser/bookmark_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698