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

Side by Side Diff: src/core/SkBitmap.cpp

Issue 1373253003: Have /src files use header directly. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « src/core/SkAAClip.cpp ('k') | src/core/SkBitmapHeap.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 /* 1 /*
2 * Copyright 2008 The Android Open Source Project 2 * Copyright 2008 The Android Open Source Project
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 #include "../private/SkAtomics.h" 8 #include "SkAtomics.h"
9 #include "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
11 #include "SkData.h" 11 #include "SkData.h"
12 #include "SkFilterQuality.h" 12 #include "SkFilterQuality.h"
13 #include "SkMallocPixelRef.h" 13 #include "SkMallocPixelRef.h"
14 #include "SkMask.h" 14 #include "SkMask.h"
15 #include "SkMath.h" 15 #include "SkMath.h"
16 #include "SkPixelRef.h" 16 #include "SkPixelRef.h"
17 #include "SkReadBuffer.h" 17 #include "SkReadBuffer.h"
18 #include "SkRect.h" 18 #include "SkRect.h"
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 /////////////////////////////////////////////////////////////////////////////// 1316 ///////////////////////////////////////////////////////////////////////////////
1317 1317
1318 #ifdef SK_DEBUG 1318 #ifdef SK_DEBUG
1319 void SkImageInfo::validate() const { 1319 void SkImageInfo::validate() const {
1320 SkASSERT(fWidth >= 0); 1320 SkASSERT(fWidth >= 0);
1321 SkASSERT(fHeight >= 0); 1321 SkASSERT(fHeight >= 0);
1322 SkASSERT(SkColorTypeIsValid(fColorType)); 1322 SkASSERT(SkColorTypeIsValid(fColorType));
1323 SkASSERT(SkAlphaTypeIsValid(fAlphaType)); 1323 SkASSERT(SkAlphaTypeIsValid(fAlphaType));
1324 } 1324 }
1325 #endif 1325 #endif
OLDNEW
« no previous file with comments | « src/core/SkAAClip.cpp ('k') | src/core/SkBitmapHeap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698