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

Side by Side Diff: tools/android/SkBRDAllocator.h

Issue 1440883002: Add include guards for SkBRDAllocator (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBRDAllocator_DEFINED
9 #define SkBRDAllocator_DEFINED
10
8 #include "SkBitmap.h" 11 #include "SkBitmap.h"
9 #include "SkCodec.h" 12 #include "SkCodec.h"
10 13
11 /** 14 /**
12 * Abstract subclass of SkBitmap's allocator. 15 * Abstract subclass of SkBitmap's allocator.
13 * Allows the allocator to indicate if the memory it allocates 16 * Allows the allocator to indicate if the memory it allocates
14 * is zero initialized. 17 * is zero initialized.
15 */ 18 */
16 class SkBRDAllocator : public SkBitmap::Allocator { 19 class SkBRDAllocator : public SkBitmap::Allocator {
17 public: 20 public:
18 21
19 /** 22 /**
20 * Indicates if the memory allocated by this allocator is 23 * Indicates if the memory allocated by this allocator is
21 * zero initialized. 24 * zero initialized.
22 */ 25 */
23 virtual SkCodec::ZeroInitialized zeroInit() const = 0; 26 virtual SkCodec::ZeroInitialized zeroInit() const = 0;
24 }; 27 };
28
29 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698