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

Side by Side Diff: cc/layers/delegated_frame_resource_collection.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 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
« no previous file with comments | « cc/layers/delegated_frame_resource_collection.h ('k') | cc/layers/delegated_renderer_layer.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/layers/delegated_frame_resource_collection.h" 5 #include "cc/layers/delegated_frame_resource_collection.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "cc/trees/blocking_task_runner.h" 10 #include "cc/trees/blocking_task_runner.h"
9 11
10 namespace cc { 12 namespace cc {
11 13
12 DelegatedFrameResourceCollection::DelegatedFrameResourceCollection() 14 DelegatedFrameResourceCollection::DelegatedFrameResourceCollection()
13 : client_(nullptr), lost_all_resources_(false), weak_ptr_factory_(this) { 15 : client_(nullptr), lost_all_resources_(false), weak_ptr_factory_(this) {
14 DCHECK(main_thread_checker_.CalledOnValidThread()); 16 DCHECK(main_thread_checker_.CalledOnValidThread());
15 } 17 }
16 18
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 &DelegatedFrameResourceCollection::UnrefResources, self, returned)); 122 &DelegatedFrameResourceCollection::UnrefResources, self, returned));
121 } 123 }
122 124
123 ReturnCallback 125 ReturnCallback
124 DelegatedFrameResourceCollection::GetReturnResourcesCallbackForImplThread() { 126 DelegatedFrameResourceCollection::GetReturnResourcesCallbackForImplThread() {
125 return base::Bind(&UnrefResourcesOnImplThread, 127 return base::Bind(&UnrefResourcesOnImplThread,
126 weak_ptr_factory_.GetWeakPtr()); 128 weak_ptr_factory_.GetWeakPtr());
127 } 129 }
128 130
129 } // namespace cc 131 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/delegated_frame_resource_collection.h ('k') | cc/layers/delegated_renderer_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698