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

Side by Side Diff: remoting/host/chromeos/skia_bitmap_desktop_frame.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « remoting/host/chromeos/skia_bitmap_desktop_frame.h ('k') | remoting/host/chromoting_host.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 <stddef.h>
6
5 #include "base/logging.h" 7 #include "base/logging.h"
6 #include "remoting/host/chromeos/skia_bitmap_desktop_frame.h" 8 #include "remoting/host/chromeos/skia_bitmap_desktop_frame.h"
7 9
8 namespace remoting { 10 namespace remoting {
9 11
10 // static 12 // static
11 SkiaBitmapDesktopFrame* SkiaBitmapDesktopFrame::Create( 13 SkiaBitmapDesktopFrame* SkiaBitmapDesktopFrame::Create(
12 scoped_ptr<SkBitmap> bitmap) { 14 scoped_ptr<SkBitmap> bitmap) {
13 15
14 webrtc::DesktopSize size(bitmap->width(), bitmap->height()); 16 webrtc::DesktopSize size(bitmap->width(), bitmap->height());
(...skipping 15 matching lines...) Expand all
30 int stride, 32 int stride,
31 uint8_t* data, 33 uint8_t* data,
32 scoped_ptr<SkBitmap> bitmap) 34 scoped_ptr<SkBitmap> bitmap)
33 : DesktopFrame(size, stride, data, nullptr), bitmap_(bitmap.Pass()) { 35 : DesktopFrame(size, stride, data, nullptr), bitmap_(bitmap.Pass()) {
34 } 36 }
35 37
36 SkiaBitmapDesktopFrame::~SkiaBitmapDesktopFrame() { 38 SkiaBitmapDesktopFrame::~SkiaBitmapDesktopFrame() {
37 } 39 }
38 40
39 } // namespace remoting 41 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromeos/skia_bitmap_desktop_frame.h ('k') | remoting/host/chromoting_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698