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

Side by Side Diff: content/browser/gpu/gpu_surface_tracker.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « content/browser/gpu/gpu_surface_tracker.h ('k') | content/browser/gpu/shader_disk_cache.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/gpu/gpu_surface_tracker.h" 5 #include "content/browser/gpu/gpu_surface_tracker.h"
6 6
7 #include "base/logging.h"
8 #include "build/build_config.h"
9
7 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
8 #include <android/native_window_jni.h> 11 #include <android/native_window_jni.h>
9 #endif // defined(OS_ANDROID) 12 #endif // defined(OS_ANDROID)
10 13
11 #include "base/logging.h"
12
13 namespace content { 14 namespace content {
14 15
15 GpuSurfaceTracker::GpuSurfaceTracker() 16 GpuSurfaceTracker::GpuSurfaceTracker()
16 : next_surface_id_(1) { 17 : next_surface_id_(1) {
17 GpuSurfaceLookup::InitInstance(this); 18 GpuSurfaceLookup::InitInstance(this);
18 } 19 }
19 20
20 GpuSurfaceTracker::~GpuSurfaceTracker() { 21 GpuSurfaceTracker::~GpuSurfaceTracker() {
21 GpuSurfaceLookup::InitInstance(NULL); 22 GpuSurfaceLookup::InitInstance(NULL);
22 } 23 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 80
80 GpuSurfaceTracker::SurfaceInfo::SurfaceInfo( 81 GpuSurfaceTracker::SurfaceInfo::SurfaceInfo(
81 const gfx::AcceleratedWidget& native_widget, 82 const gfx::AcceleratedWidget& native_widget,
82 const gfx::GLSurfaceHandle& handle) 83 const gfx::GLSurfaceHandle& handle)
83 : native_widget(native_widget), handle(handle) {} 84 : native_widget(native_widget), handle(handle) {}
84 85
85 GpuSurfaceTracker::SurfaceInfo::~SurfaceInfo() { } 86 GpuSurfaceTracker::SurfaceInfo::~SurfaceInfo() { }
86 87
87 88
88 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_surface_tracker.h ('k') | content/browser/gpu/shader_disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698