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

Side by Side Diff: cc/resources/scoped_ui_resource.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 unified diff | Download patch
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/shared_bitmap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/resources/scoped_ui_resource.h" 5 #include "cc/resources/scoped_ui_resource.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
9 #include "cc/trees/layer_tree_host.h" 8 #include "cc/trees/layer_tree_host.h"
10 9
11 namespace cc { 10 namespace cc {
12 11
13 scoped_ptr<ScopedUIResource> ScopedUIResource::Create( 12 scoped_ptr<ScopedUIResource> ScopedUIResource::Create(
14 LayerTreeHost* host, 13 LayerTreeHost* host,
15 const UIResourceBitmap& bitmap) { 14 const UIResourceBitmap& bitmap) {
16 return make_scoped_ptr(new ScopedUIResource(host, bitmap)); 15 return make_scoped_ptr(new ScopedUIResource(host, bitmap));
17 } 16 }
(...skipping 13 matching lines...) Expand all
31 host_->DeleteUIResource(id_); 30 host_->DeleteUIResource(id_);
32 } 31 }
33 } 32 }
34 33
35 UIResourceBitmap ScopedUIResource::GetBitmap(UIResourceId uid, 34 UIResourceBitmap ScopedUIResource::GetBitmap(UIResourceId uid,
36 bool resource_lost) { 35 bool resource_lost) {
37 return bitmap_; 36 return bitmap_;
38 } 37 }
39 38
40 } // namespace cc 39 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/shared_bitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698