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

Side by Side Diff: cc/layers/io_surface_layer.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/layers/io_surface_layer.h ('k') | cc/layers/io_surface_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/io_surface_layer.h" 5 #include "cc/layers/io_surface_layer.h"
6 6
7 #include <stdint.h>
8
7 #include "cc/layers/io_surface_layer_impl.h" 9 #include "cc/layers/io_surface_layer_impl.h"
8 10
9 namespace cc { 11 namespace cc {
10 12
11 scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::Create( 13 scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::Create(
12 const LayerSettings& settings) { 14 const LayerSettings& settings) {
13 return make_scoped_refptr(new IOSurfaceLayer(settings)); 15 return make_scoped_refptr(new IOSurfaceLayer(settings));
14 } 16 }
15 17
16 IOSurfaceLayer::IOSurfaceLayer(const LayerSettings& settings) 18 IOSurfaceLayer::IOSurfaceLayer(const LayerSettings& settings)
(...skipping 28 matching lines...) Expand all
45 } 47 }
46 48
47 bool IOSurfaceLayer::Update() { 49 bool IOSurfaceLayer::Update() {
48 bool updated = Layer::Update(); 50 bool updated = Layer::Update();
49 // This layer doesn't update any resources from the main thread side, 51 // This layer doesn't update any resources from the main thread side,
50 // but repaint rects need to be sent to the layer impl via commit. 52 // but repaint rects need to be sent to the layer impl via commit.
51 return updated || !update_rect_.IsEmpty(); 53 return updated || !update_rect_.IsEmpty();
52 } 54 }
53 55
54 } // namespace cc 56 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/io_surface_layer.h ('k') | cc/layers/io_surface_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698