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

Side by Side Diff: cc/playback/display_list_recording_source.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/playback/display_list_recording_source.h ('k') | cc/playback/drawing_display_item.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/playback/display_list_recording_source.h" 5 #include "cc/playback/display_list_recording_source.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/numerics/safe_math.h" 11 #include "base/numerics/safe_math.h"
10 #include "cc/base/histograms.h" 12 #include "cc/base/histograms.h"
11 #include "cc/base/region.h" 13 #include "cc/base/region.h"
12 #include "cc/layers/content_layer_client.h" 14 #include "cc/layers/content_layer_client.h"
13 #include "cc/playback/display_item_list.h" 15 #include "cc/playback/display_item_list.h"
14 #include "cc/playback/display_list_raster_source.h" 16 #include "cc/playback/display_list_raster_source.h"
15 #include "cc/proto/display_list_recording_source.pb.h" 17 #include "cc/proto/display_list_recording_source.pb.h"
16 #include "cc/proto/gfx_conversions.h" 18 #include "cc/proto/gfx_conversions.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 223 }
222 224
223 void DisplayListRecordingSource::Clear() { 225 void DisplayListRecordingSource::Clear() {
224 recorded_viewport_ = gfx::Rect(); 226 recorded_viewport_ = gfx::Rect();
225 display_list_ = nullptr; 227 display_list_ = nullptr;
226 painter_reported_memory_usage_ = 0; 228 painter_reported_memory_usage_ = 0;
227 is_solid_color_ = false; 229 is_solid_color_ = false;
228 } 230 }
229 231
230 } // namespace cc 232 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/display_list_recording_source.h ('k') | cc/playback/drawing_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698