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

Side by Side Diff: skia/ext/skia_utils_mac.mm

Issue 1540963004: Switch to standard integer types in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some 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
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 "skia/ext/skia_utils_mac.h" 5 #include "skia/ext/skia_utils_mac.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 #include <stdint.h>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/mac/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
11 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "skia/ext/bitmap_platform_device_mac.h" 14 #include "skia/ext/bitmap_platform_device_mac.h"
14 #include "skia/ext/platform_canvas.h" 15 #include "skia/ext/platform_canvas.h"
15 #include "third_party/skia/include/core/SkRegion.h" 16 #include "third_party/skia/include/core/SkRegion.h"
16 #include "third_party/skia/include/utils/mac/SkCGUtils.h" 17 #include "third_party/skia/include/utils/mac/SkCGUtils.h"
17 18
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 CGContextConcatCTM(cgContext_, SkMatrixToCGAffineTransform(matrix)); 461 CGContextConcatCTM(cgContext_, SkMatrixToCGAffineTransform(matrix));
461 462
462 return cgContext_; 463 return cgContext_;
463 } 464 }
464 465
465 bool SkiaBitLocker::hasEmptyClipRegion() const { 466 bool SkiaBitLocker::hasEmptyClipRegion() const {
466 return canvas_->isClipEmpty(); 467 return canvas_->isClipEmpty();
467 } 468 }
468 469
469 } // namespace skia 470 } // namespace skia
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698